pub enum EncodingErrorKind {
OutOfBounds,
Overflow,
InvalidData,
External,
}
Expand description
Specific type EncodingError
Variants§
OutOfBounds
Encoding or decoding did not stay within the bounds of the buffer
Overflow
Buffer data overflowed type during encoding or decoding.
InvalidData
Buffer contained invalid data during decoding.
External
Some external error occurred causing a crate::CompactEncoding
method to fail.
Trait Implementations§
Source§impl Clone for EncodingErrorKind
impl Clone for EncodingErrorKind
Source§fn clone(&self) -> EncodingErrorKind
fn clone(&self) -> EncodingErrorKind
Returns a copy 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 EncodingErrorKind
impl Debug for EncodingErrorKind
Source§impl PartialEq for EncodingErrorKind
impl PartialEq for EncodingErrorKind
impl StructuralPartialEq for EncodingErrorKind
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