Enum qcow2::Error [] [src]

pub enum Error {
    Io(Error),
    Poison(String),
    FileType,
    Version(u32),
    UnsupportedFeature(String),
    FileFormat(String),
    Internal(String),
}

The error type for Qcow2 operations.

Variants

The underlying source of a Qcow2 reported an I/O error.

A synchronization primitive reported being poisoned. See std::sync::PoisonError.

The file being opened is not a qcow2 file.

The file being opened has an unsupported version.

A feature unsupported by this library was detected.

An error was detected in a qcow2 file. The file may be corrupt.

An internal error was detected, there must be a bug in this library.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl<T> From<PoisonError<T>> for Error
[src]

Performs the conversion.

impl StdError 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