Enum lzma::error::LzmaError [−][src]
pub enum LzmaError { Mem, MemLimit, Format, Options, Data, Buf, Io(IoError), Other, }
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
impl Debug for LzmaError
[src]
impl Debug for LzmaError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for LzmaError
[src]
impl Display for LzmaError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for LzmaError
[src]
impl StdError for LzmaError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<IoError> for LzmaError
[src]
impl From<IoError> for LzmaError