pub enum SinkError {
InnerNotEmpty(usize),
LimitTooHigh(Option<NonZeroU16>, usize),
CapacityLimitTooHigh(usize),
}
Expand description
failed to create sink
Variants§
InnerNotEmpty(usize)
inner must be empty (but had len = {0})
LimitTooHigh(Option<NonZeroU16>, usize)
limit ({0:?}) exceeds capacity limit of inner ({1})
CapacityLimitTooHigh(usize)
capacity limit of inner ({0}) overflows u16
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SinkError
impl RefUnwindSafe for SinkError
impl Send for SinkError
impl Sync for SinkError
impl Unpin for SinkError
impl UnwindSafe for SinkError
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