pub enum CodecErrorKind {
InvalidData,
NegativeSize,
BadVersion,
NotImplemented,
DepthLimit,
UnknownMethod,
IOError(Error),
}Variants§
Trait Implementations§
Source§impl Debug for CodecErrorKind
impl Debug for CodecErrorKind
Auto Trait Implementations§
impl Freeze for CodecErrorKind
impl !RefUnwindSafe for CodecErrorKind
impl Send for CodecErrorKind
impl Sync for CodecErrorKind
impl Unpin for CodecErrorKind
impl !UnwindSafe for CodecErrorKind
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