Struct bmp::BmpError [] [src]

pub struct BmpError {
    pub kind: BmpErrorKind,
    pub details: String,
}

The error type returned if the decoding of an image from disk fails.

Fields

kind: BmpErrorKind details: String

Trait Implementations

impl Debug for BmpError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for BmpError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for BmpError
[src]

fn from(err: Error) -> BmpError

Performs the conversion.

impl From<Error> for BmpError
[src]

fn from(err: Error) -> BmpError

Performs the conversion.

impl Error for BmpError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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