pub struct SinkFull {
pub needed: usize,
pub available: usize,
}Expand description
A byte append did not fit its sink.
This error holds no allocated message. It does not describe allocation failure in a growable container.
Fields§
§needed: usizeNumber of bytes in the refused append.
available: usizeAvailable append space when it was refused.
Trait Implementations§
impl Copy for SinkFull
impl Eq for SinkFull
Source§impl Error for SinkFull
impl Error for SinkFull
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()
impl StructuralPartialEq for SinkFull
Auto Trait Implementations§
impl Freeze for SinkFull
impl RefUnwindSafe for SinkFull
impl Send for SinkFull
impl Sync for SinkFull
impl Unpin for SinkFull
impl UnsafeUnpin for SinkFull
impl UnwindSafe for SinkFull
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