pub enum CodecError {
OutputFull,
Internal,
}Expand description
Error returned by the convenience functions encoder::encode and
decoder::decode.
Variants§
OutputFull
Output buffer was too small to hold the result.
Internal
Internal error (should not occur in normal use).
Trait Implementations§
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