pub enum EncoderError {
TooMuchNesting,
DuplicateMapKey,
}Expand description
Possible errors from a serialization operation.
Variants§
Trait Implementations§
Source§impl Debug for EncoderError
impl Debug for EncoderError
Source§impl PartialEq for EncoderError
impl PartialEq for EncoderError
Source§fn eq(&self, other: &EncoderError) -> bool
fn eq(&self, other: &EncoderError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EncoderError
Auto Trait Implementations§
impl Freeze for EncoderError
impl RefUnwindSafe for EncoderError
impl Send for EncoderError
impl Sync for EncoderError
impl Unpin for EncoderError
impl UnsafeUnpin for EncoderError
impl UnwindSafe for EncoderError
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