#[non_exhaustive]pub enum RingBufferError {
Overrun,
}Expand description
Ring buffer error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Overrun
Overrun error
Trait Implementations§
Source§impl Clone for RingBufferError
impl Clone for RingBufferError
Source§fn clone(&self) -> RingBufferError
fn clone(&self) -> RingBufferError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RingBufferError
Source§impl Debug for RingBufferError
impl Debug for RingBufferError
impl Eq for RingBufferError
Source§impl Format for RingBufferError
impl Format for RingBufferError
Source§impl From<RingBufferError> for Error
impl From<RingBufferError> for Error
Source§fn from(e: RingBufferError) -> Self
fn from(e: RingBufferError) -> Self
Converts to this type from the input type.
Source§impl From<RingBufferError> for Error
impl From<RingBufferError> for Error
Source§fn from(e: RingBufferError) -> Self
fn from(e: RingBufferError) -> Self
Converts to this type from the input type.
Source§impl From<RingBufferError> for Error
impl From<RingBufferError> for Error
Source§fn from(e: RingBufferError) -> Self
fn from(e: RingBufferError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RingBufferError
impl PartialEq for RingBufferError
impl StructuralPartialEq for RingBufferError
Auto Trait Implementations§
impl Freeze for RingBufferError
impl RefUnwindSafe for RingBufferError
impl Send for RingBufferError
impl Sync for RingBufferError
impl Unpin for RingBufferError
impl UnsafeUnpin for RingBufferError
impl UnwindSafe for RingBufferError
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more