pub enum FixedSizeError {
UnsufficientExactBytes(usize),
}
Variants§
UnsufficientExactBytes(usize)
the buffer has not enough bytes to parse this record. An exact size is known at should be provided. It’s okay to provide a larger buffer.
Trait Implementations§
Source§impl Debug for FixedSizeError
impl Debug for FixedSizeError
Source§impl Display for FixedSizeError
impl Display for FixedSizeError
Source§impl Error for FixedSizeError
impl Error for FixedSizeError
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 FixedSizeError
impl PartialEq for FixedSizeError
impl StructuralPartialEq for FixedSizeError
Auto Trait Implementations§
impl Freeze for FixedSizeError
impl RefUnwindSafe for FixedSizeError
impl Send for FixedSizeError
impl Sync for FixedSizeError
impl Unpin for FixedSizeError
impl UnwindSafe for FixedSizeError
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