pub enum ItemError {
Truncated,
BadLength,
UnknownFilterType,
BufferTooSmall,
BadPrefix,
}Variants§
Truncated
The input ended before the item was complete.
BadLength
The item’s length does not match its type.
UnknownFilterType
A filter entry carried an unrecognized FILTER_TYPE.
BufferTooSmall
The output buffer cannot hold the encoded item.
BadPrefix
An item length prefix was malformed.
Trait Implementations§
impl Copy for ItemError
impl Eq for ItemError
impl StructuralPartialEq for ItemError
Auto Trait Implementations§
impl Freeze for ItemError
impl RefUnwindSafe for ItemError
impl Send for ItemError
impl Sync for ItemError
impl Unpin for ItemError
impl UnwindSafe for ItemError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)