Enum gif::DecodingError [] [src]

pub enum DecodingError {
    Format(&'static str),
    Internal(&'static str),
    Io(Error),
}

Decoding error.

Variants

Format(&'static str)

Returned if the image is found to be malformed.

Internal(&'static str)

Internal (logic) error.

Io(Error)

Wraps std::io::Error.

Trait Implementations

impl Debug for DecodingError
[src]

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

Formats the value using the given formatter.

impl From<Error> for DecodingError
[src]

fn from(err: Error) -> Self

Performs the conversion.