Enum s2n_codec::decoder::DecoderError
source · [−]pub enum DecoderError {
UnexpectedEof(usize),
UnexpectedBytes(usize),
LengthCapacityExceeded,
InvariantViolation(&'static str),
}
Variants
UnexpectedEof(usize)
UnexpectedBytes(usize)
LengthCapacityExceeded
InvariantViolation(&'static str)
Trait Implementations
sourceimpl Debug for DecoderError
impl Debug for DecoderError
sourceimpl Display for DecoderError
impl Display for DecoderError
sourceimpl From<DecoderError> for &'static str
impl From<DecoderError> for &'static str
sourcefn from(error: DecoderError) -> Self
fn from(error: DecoderError) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnwindSafe for DecoderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more