pub enum StringDecodeError {
LengthDecodeError,
LengthError(usize),
CapacityError(usize),
Utf8DecodeError(Utf8Error),
}Variants§
LengthDecodeError
Could not decode lengt
LengthError(usize)
Got an invalid length
CapacityError(usize)
Did not fit into available space
Utf8DecodeError(Utf8Error)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StringDecodeError
impl RefUnwindSafe for StringDecodeError
impl Send for StringDecodeError
impl Sync for StringDecodeError
impl Unpin for StringDecodeError
impl UnwindSafe for StringDecodeError
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