pub struct BufferFull;Expand description
Error returned from queue try_claim operations when the buffer has no
space for the requested record.
This is the only failure mode that try_claim can surface as an error:
passing len == 0 is a precondition violation and panics (len == 0 is
reserved by the wire format as the “uncommitted” sentinel).
Trait Implementations§
Source§impl Clone for BufferFull
impl Clone for BufferFull
Source§fn clone(&self) -> BufferFull
fn clone(&self) -> BufferFull
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 moreSource§impl Debug for BufferFull
impl Debug for BufferFull
Source§impl Display for BufferFull
impl Display for BufferFull
Source§impl Error for BufferFull
impl Error for BufferFull
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 BufferFull
impl PartialEq for BufferFull
Source§fn eq(&self, other: &BufferFull) -> bool
fn eq(&self, other: &BufferFull) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BufferFull
impl Eq for BufferFull
impl StructuralPartialEq for BufferFull
Auto Trait Implementations§
impl Freeze for BufferFull
impl RefUnwindSafe for BufferFull
impl Send for BufferFull
impl Sync for BufferFull
impl Unpin for BufferFull
impl UnsafeUnpin for BufferFull
impl UnwindSafe for BufferFull
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