pub enum ExtraDataError {
MisalignedExtraDataStart,
PaddingNotZero,
LengthParityFailed(u8),
ExtraDataTooLong {
length: u16,
remaining: usize,
},
EvoFrameTooLong {
evo_len: u16,
extra_len: u16,
},
EvoFrameMisaligned,
EvoFramePaddingNotZero,
ExtraDataParityMismatch {
expected: u8,
actual: u8,
},
}Variants§
MisalignedExtraDataStart
PaddingNotZero
LengthParityFailed(u8)
ExtraDataTooLong
EvoFrameTooLong
EvoFrameMisaligned
EvoFramePaddingNotZero
ExtraDataParityMismatch
Trait Implementations§
Source§impl Debug for ExtraDataError
impl Debug for ExtraDataError
Source§impl Display for ExtraDataError
impl Display for ExtraDataError
Source§impl Error for ExtraDataError
impl Error for ExtraDataError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ExtraDataError
impl RefUnwindSafe for ExtraDataError
impl Send for ExtraDataError
impl Sync for ExtraDataError
impl Unpin for ExtraDataError
impl UnsafeUnpin for ExtraDataError
impl UnwindSafe for ExtraDataError
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