pub enum LzmaError {
Mem,
MemLimit,
Format,
Options,
Data,
Buf,
Io(Error),
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(Error)
std::io::Error
Other
An unknown error
Trait Implementations§
Source§impl Error for LzmaError
impl Error for LzmaError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn 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 Freeze for LzmaError
impl !RefUnwindSafe for LzmaError
impl Send for LzmaError
impl Sync for LzmaError
impl Unpin for LzmaError
impl !UnwindSafe for LzmaError
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