Enum imagesize::ImageError
[−]
[src]
pub enum ImageError { NotSupported(String), IoError(Error), }
An Error type used in failure cases.
Variants
NotSupported(String)
Used when the given data is not a supported format.
IoError(Error)
Used when an IoError occurs when trying to read the given data.
Trait Implementations
impl Debug for ImageError
[src]
impl From<Error> for ImageError
[src]
fn from(err: Error) -> ImageError
Performs the conversion.