pub enum EncodingErrorKind {
OutOfBounds,
Overflow,
InvalidData,
}
Expand description
Specific type EncodingError
Variants§
OutOfBounds
Encoding or decoding did not stay between State start
and end
.
Overflow
Buffer data overflowed type during encoding or decoding.
InvalidData
Buffer contained invalid data during decoding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EncodingErrorKind
impl RefUnwindSafe for EncodingErrorKind
impl Send for EncodingErrorKind
impl Sync for EncodingErrorKind
impl Unpin for EncodingErrorKind
impl UnwindSafe for EncodingErrorKind
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