Enum farbfeld::Error
[−]
[src]
pub enum Error { FormatError(String), NotEnoughData, IoError(Error), ImageEnd, }
An enumeration of decoding/encoding Errors
Variants
FormatError(String)
The Image is not formatted properly
NotEnoughData
Not enough data was provided to the Decoder to decode the image
IoError(Error)
An I/O Error occurred while decoding the image
ImageEnd
The end of the image has been reached
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more