pub enum Malformed {
Short,
Length,
Terminator,
Entry,
BackLength,
Count,
}Expand description
Why a blob from somewhere else was refused.
Variants§
Short
Shorter than an empty listpack.
Length
The header’s total length is not the length of what arrived.
Terminator
It does not end in a terminator.
Entry
An entry’s encoding is not one of the fourteen.
BackLength
An entry’s back length disagrees with how long the entry is.
Count
The header’s element count is not how many elements are in it.
Trait Implementations§
impl Copy for Malformed
impl Eq for Malformed
impl StructuralPartialEq for Malformed
Auto Trait Implementations§
impl Freeze for Malformed
impl RefUnwindSafe for Malformed
impl Send for Malformed
impl Sync for Malformed
impl Unpin for Malformed
impl UnsafeUnpin for Malformed
impl UnwindSafe for Malformed
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