pub enum EncodeErrorKind {
Mismatch,
NoEncoding,
TooLarge,
Invalid,
}Expand description
Which refusal encoding made.
Variants§
Mismatch
The value is not of the type it is encoded at.
NoEncoding
The type has no encoding, such as a function’s.
TooLarge
The type or a text is past a bound.
Invalid
The description written does not validate.
Trait Implementations§
Source§impl Clone for EncodeErrorKind
impl Clone for EncodeErrorKind
impl Copy for EncodeErrorKind
Source§impl Debug for EncodeErrorKind
impl Debug for EncodeErrorKind
impl Eq for EncodeErrorKind
Source§impl PartialEq for EncodeErrorKind
impl PartialEq for EncodeErrorKind
impl StructuralPartialEq for EncodeErrorKind
Auto Trait Implementations§
impl Forget for EncodeErrorKind
impl Freeze for EncodeErrorKind
impl Move for EncodeErrorKind
impl RefUnwindSafe for EncodeErrorKind
impl Send for EncodeErrorKind
impl Sync for EncodeErrorKind
impl Unpin for EncodeErrorKind
impl UnsafeUnpin for EncodeErrorKind
impl UnwindSafe for EncodeErrorKind
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