pub enum CodecError {
DataTypeMismatch {
value_kind: &'static str,
func: &'static str,
},
}Expand description
Shared error abstraction for conversion helpers.
Variants§
DataTypeMismatch
Value type is incompatible with the algorithm.
Trait Implementations§
Source§impl Debug for CodecError
impl Debug for CodecError
Auto Trait Implementations§
impl Freeze for CodecError
impl RefUnwindSafe for CodecError
impl Send for CodecError
impl Sync for CodecError
impl Unpin for CodecError
impl UnsafeUnpin for CodecError
impl UnwindSafe for CodecError
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