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
details

Trait Implementations

impl Display for BmpError

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

impl From<Error> for BmpError

fn from(err: Error) -> BmpError

impl From<Error> for BmpError

fn from(err: Error) -> BmpError

impl Error for BmpError

fn description(&self) -> &str

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

Derived Implementations

impl Debug for BmpError

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