pub enum CborCodecError {
Io(Error),
Cbor(Error),
}
Expand description
JSON Codec error enumeration
Variants§
Trait Implementations§
Source§impl Debug for CborCodecError
impl Debug for CborCodecError
Source§impl From<Error> for CborCodecError
impl From<Error> for CborCodecError
Source§fn from(e: IoError) -> CborCodecError
fn from(e: IoError) -> CborCodecError
Converts to this type from the input type.
Source§impl From<Error> for CborCodecError
impl From<Error> for CborCodecError
Source§fn from(e: CborError) -> CborCodecError
fn from(e: CborError) -> CborCodecError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CborCodecError
impl !RefUnwindSafe for CborCodecError
impl Send for CborCodecError
impl Sync for CborCodecError
impl Unpin for CborCodecError
impl !UnwindSafe for CborCodecError
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