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

The image is not formatted properly. The string contains detailed information about the error.

The image makes use of a JPEG feature not (currently) supported by this library.

An I/O error occurred while decoding the image.

An internal error occurred while decoding the image.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<IoError> for Error
[src]

Performs the conversion.

impl From<RecvError> for Error
[src]

Performs the conversion.

impl<T: Any + Send> From<SendError<T>> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Error

impl !Sync for Error