Enum jpeg_decoder::Error
[−]
[src]
pub enum Error {
Format(String),
Unsupported(UnsupportedFeature),
Io(IoError),
Internal(Box<StdError>),
}Errors that can occur while decoding a JPEG image.
Variants
Format(String)The image is not formatted properly. The string contains detailed information about the error.
Unsupported(UnsupportedFeature)The image makes use of a JPEG feature not (currently) supported by this library.
Io(IoError)An I/O error occurred while decoding the image.
Internal(Box<StdError>)An internal error occurred while decoding the image.
Trait Implementations
impl Debug for Error[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for Error[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl StdError for Error[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>[src]
The lower-level cause of this error, if any. Read more