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
Io(Error)
The underlying source of a Qcow2 reported an I/O error.
Poison(String)
A synchronization primitive reported being poisoned. See std::sync::PoisonError.
FileType
The file being opened is not a qcow2 file.
Version(u32)
The file being opened has an unsupported version.
UnsupportedFeature(String)
A feature unsupported by this library was detected.
FileFormat(String)
An error was detected in a qcow2 file. The file may be corrupt.
Internal(String)
An internal error was detected, there must be a bug in this library.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl<T> From<PoisonError<T>> for Error
[src]
fn from(err: PoisonError<T>) -> Error
Performs the conversion.
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more