Enum wthor::HeaderError
source · [−]pub enum HeaderError {
InvalidHeaderSize,
InvalidN1Value,
InvalidP1Value,
InvalidP2Value,
}
Variants
InvalidHeaderSize
InvalidN1Value
InvalidP1Value
InvalidP2Value
Trait Implementations
sourceimpl Debug for HeaderError
impl Debug for HeaderError
sourceimpl From<HeaderError> for WtbError
impl From<HeaderError> for WtbError
sourcefn from(error: HeaderError) -> Self
fn from(error: HeaderError) -> Self
Converts to this type from the input type.
sourceimpl From<HeaderError> for WthorError
impl From<HeaderError> for WthorError
sourcefn from(error: HeaderError) -> Self
fn from(error: HeaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for HeaderError
impl Send for HeaderError
impl Sync for HeaderError
impl Unpin for HeaderError
impl UnwindSafe for HeaderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more