pub enum HeaderError {
Io(Error),
InvalidSize,
SizeUnderflow {
size: u64,
header_size: u64,
},
}Expand description
Errors raised while parsing or writing box headers.
Variants§
Trait Implementations§
Source§impl Debug for HeaderError
impl Debug for HeaderError
Source§impl Display for HeaderError
impl Display for HeaderError
Source§impl Error for HeaderError
impl Error for HeaderError
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()
Source§impl From<Error> for HeaderError
impl From<Error> for HeaderError
Source§impl From<HeaderError> for DivideError
impl From<HeaderError> for DivideError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for DumpError
impl From<HeaderError> for DumpError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for EditError
impl From<HeaderError> for EditError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for ExtractCliError
impl From<HeaderError> for ExtractCliError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for ExtractError
impl From<HeaderError> for ExtractError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for MuxError
Available on crate feature mux only.
impl From<HeaderError> for MuxError
Available on crate feature
mux only.Source§fn from(error: HeaderError) -> Self
fn from(error: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for ProbeError
impl From<HeaderError> for ProbeError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for RewriteError
impl From<HeaderError> for RewriteError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for SidxAnalysisError
impl From<HeaderError> for SidxAnalysisError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for SidxRewriteError
impl From<HeaderError> for SidxRewriteError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for WalkError
impl From<HeaderError> for WalkError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for WriterError
impl From<HeaderError> for WriterError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HeaderError
impl !RefUnwindSafe for HeaderError
impl Send for HeaderError
impl Sync for HeaderError
impl Unpin for HeaderError
impl UnsafeUnpin for HeaderError
impl !UnwindSafe for HeaderError
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