Enum jpeg_decoder::Error [−][src]
pub enum Error {
Format(String),
Unsupported(UnsupportedFeature),
Io(IoError),
Internal(Box<dyn StdError + Send + Sync + 'static>),
}
Expand description
Errors that can occur while decoding a JPEG image.
Variants
Format(String)
Tuple Fields
0: String
The image is not formatted properly. The string contains detailed information about the error.
Unsupported(UnsupportedFeature)
Tuple Fields
The image makes use of a JPEG feature not (currently) supported by this library.
Io(IoError)
Tuple Fields
0: IoError
An I/O error occurred while decoding the image.
Internal(Box<dyn StdError + Send + Sync + 'static>)
An internal error occurred while decoding the image.