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
[src]
Formats the value using the given formatter. Read more
impl Display for DecodingError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for DecodingError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more