pub struct DecodeError(/* private fields */);Implementations§
Source§impl DecodeError
impl DecodeError
pub const INPUT_TOO_SHORT: DecodeError
pub const INPUT_TOO_LONG: DecodeError
pub const INPUT_OUT_OF_RANGE: DecodeError
pub const INVALID_VALUE: DecodeError
pub const UNSUPPORTED_OPERATION: DecodeError
pub const ARRAY_DECODE_ERROR: DecodeError
pub const UTF8_DECODE_ERROR: DecodeError
pub fn message_bytes(&self) -> &'static [u8]
Trait Implementations§
Source§impl Debug for DecodeError
impl Debug for DecodeError
Source§impl From<&'static [u8]> for DecodeError
impl From<&'static [u8]> for DecodeError
Source§impl PartialEq for DecodeError
impl PartialEq for DecodeError
impl Eq for DecodeError
impl StructuralPartialEq for DecodeError
Auto Trait Implementations§
impl Freeze for DecodeError
impl RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl UnwindSafe for DecodeError
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