pub struct RingBufferFull;
Expand description
Error indicating that the ring buffer is full.
Client code can then take appropriate action, e.g. discard data or even panic as this indicates that the consumers cannot keep up - i.e. latency.
Trait Implementations§
Source§impl Debug for RingBufferFull
impl Debug for RingBufferFull
Source§impl Display for RingBufferFull
impl Display for RingBufferFull
Source§impl Error for RingBufferFull
impl Error for RingBufferFull
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for RingBufferFull
impl PartialEq for RingBufferFull
impl StructuralPartialEq for RingBufferFull
Auto Trait Implementations§
impl Freeze for RingBufferFull
impl RefUnwindSafe for RingBufferFull
impl Send for RingBufferFull
impl Sync for RingBufferFull
impl Unpin for RingBufferFull
impl UnwindSafe for RingBufferFull
Blanket Implementations§
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