Struct dharitri_codec::DecodeError
source · pub struct DecodeError(/* private fields */);Implementations§
source§impl DecodeError
impl DecodeError
pub fn message_bytes(&self) -> &'static [u8]
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 = _
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
source§fn eq(&self, other: &DecodeError) -> bool
fn eq(&self, other: &DecodeError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DecodeError
impl StructuralEq for DecodeError
impl StructuralPartialEq for DecodeError
Auto Trait Implementations§
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