pub enum DecodeIntoExactError {
InvalidLength,
LengthMismatch,
InvalidCharacter(usize),
NonCanonical,
InvalidChunk {
index: usize,
len: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for DecodeIntoExactError
impl Clone for DecodeIntoExactError
Source§fn clone(&self) -> DecodeIntoExactError
fn clone(&self) -> DecodeIntoExactError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodeIntoExactError
impl Debug for DecodeIntoExactError
Source§impl Hash for DecodeIntoExactError
impl Hash for DecodeIntoExactError
Source§impl PartialEq for DecodeIntoExactError
impl PartialEq for DecodeIntoExactError
Source§fn eq(&self, other: &DecodeIntoExactError) -> bool
fn eq(&self, other: &DecodeIntoExactError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DecodeIntoExactError
impl Eq for DecodeIntoExactError
impl StructuralPartialEq for DecodeIntoExactError
Auto Trait Implementations§
impl Freeze for DecodeIntoExactError
impl RefUnwindSafe for DecodeIntoExactError
impl Send for DecodeIntoExactError
impl Sync for DecodeIntoExactError
impl Unpin for DecodeIntoExactError
impl UnsafeUnpin for DecodeIntoExactError
impl UnwindSafe for DecodeIntoExactError
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