pub enum BackhandError {
Show 16 variants
StdIo(Error),
Deku(DekuError),
StringUtf8(FromUtf8Error),
StrUtf8(Utf8Error),
UnsupportedCompression(Compressor),
FileNotFound,
Unreachable,
UnexpectedInode(InodeInner),
UnsupportedInode(InodeInner),
CorruptedOrInvalidSquashfs,
InvalidCompressionOption,
InvalidFilePath,
UndefineFileName,
DuplicatedFileName,
TryReserveError(TryReserveError),
InvalidIdTable,
}Expand description
Errors generated from library
Variants§
StdIo(Error)
Deku(DekuError)
StringUtf8(FromUtf8Error)
StrUtf8(Utf8Error)
UnsupportedCompression(Compressor)
FileNotFound
Unreachable
UnexpectedInode(InodeInner)
UnsupportedInode(InodeInner)
CorruptedOrInvalidSquashfs
InvalidCompressionOption
InvalidFilePath
UndefineFileName
DuplicatedFileName
TryReserveError(TryReserveError)
InvalidIdTable
Trait Implementations§
Source§impl Debug for BackhandError
impl Debug for BackhandError
Source§impl Display for BackhandError
impl Display for BackhandError
Source§impl Error for BackhandError
impl Error for BackhandError
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<BackhandError> for Error
impl From<BackhandError> for Error
Source§fn from(value: BackhandError) -> Self
fn from(value: BackhandError) -> Self
Converts to this type from the input type.
Source§impl From<DekuError> for BackhandError
impl From<DekuError> for BackhandError
Source§impl From<Error> for BackhandError
impl From<Error> for BackhandError
Source§impl From<FromUtf8Error> for BackhandError
impl From<FromUtf8Error> for BackhandError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<TryReserveError> for BackhandError
impl From<TryReserveError> for BackhandError
Source§fn from(source: TryReserveError) -> Self
fn from(source: TryReserveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BackhandError
impl !RefUnwindSafe for BackhandError
impl Send for BackhandError
impl Sync for BackhandError
impl Unpin for BackhandError
impl !UnwindSafe for BackhandError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more