pub enum DecodeVecError {
InvalidChar,
InvalidLength,
}
Expand description
Error returned if decoding failed.
Variants§
InvalidChar
An invalid character was encountered.
InvalidLength
The length is invalid, i.e. input.len() % 5 == 1
, which is not possible.
Trait Implementations§
Source§impl Clone for DecodeVecError
impl Clone for DecodeVecError
Source§fn clone(&self) -> DecodeVecError
fn clone(&self) -> DecodeVecError
Returns a duplicate of the value. Read more
1.0.0 · 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 DecodeVecError
impl Debug for DecodeVecError
impl Copy for DecodeVecError
Auto Trait Implementations§
impl Freeze for DecodeVecError
impl RefUnwindSafe for DecodeVecError
impl Send for DecodeVecError
impl Sync for DecodeVecError
impl Unpin for DecodeVecError
impl UnwindSafe for DecodeVecError
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