Enum xz2::stream::Error [] [src]

pub enum Error {
    Data,
    Options,
    Format,
    MemLimit,
    Mem,
    Program,
    NoCheck,
    UnsupportedCheck,
}

Possible error codes that can be returned from a processing operation.

Variants

The underlying data was corrupt.

Invalid or unsupported options were specified.

File format wasn't recognized.

Memory usage limit was reached.

The memory limit can be increased with set_memlimit

Memory couldn't be allocated.

A programming error was encountered.

The TELL_NO_CHECK flag was specified and no integrity check was available for this stream.

The TELL_UNSUPPORTED_CHECK flag was specified and no integrity check isn't implemented in this build of liblzma for this stream.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more