Enum farbfeld::Error [] [src]

pub enum Error {
    FormatError(String),
    NotEnoughData,
    IoError(Error),
    ImageEnd,
}

An enumeration of decoding/encoding Errors

Variants

The Image is not formatted properly

Not enough data was provided to the Decoder to decode the image

An I/O Error occurred while decoding the image

The end of the image has been reached

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<Error> for Error
[src]

Performs the conversion.