pub enum LzmaError {
Mem,
MemLimit,
Format,
Options,
Data,
Buf,
Io(IoError),
Other,
}
Expand description
An error produced by an operation on LZMA data
Variants
Mem
Failed Memory Allocation
MemLimit
Memory limit would be violated
Format
XZ magic bytes weren’t found
Options
Unsupported compression options
Data
Corrupt data
Buf
Data looks truncated
Io(IoError)
std::io::Error
Other
An unknown error
Trait Implementations
sourceimpl Error for LzmaError
impl Error for LzmaError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl !RefUnwindSafe for LzmaError
impl Send for LzmaError
impl Sync for LzmaError
impl Unpin for LzmaError
impl !UnwindSafe for LzmaError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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