Enum imagesize::ImageError [] [src]

pub enum ImageError {
    NotSupported(String),
    CorruptedImage(String),
    IoError(Error),
}

An Error type used in failure cases.

Variants

Used when the given data is not a supported format.

Used when the image has an invalid format.

Used when an IoError occurs when trying to read the given data.

Trait Implementations

impl Debug for ImageError
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for ImageError
[src]

[src]

Performs the conversion.