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§
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