Enum gif::DecodingError [] [src]

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

Decoding error.

Variants

Format

Returned if the image is found to be malformed.

Internal

Internal (logic) error.

Io

Wraps std::io::Error.

Trait Implementations

impl From<Error> for DecodingError

fn from(err: Error) -> Self

Derived Implementations

impl Debug for DecodingError

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