Enum jpeg_decoder::Error [] [src]

pub enum Error {
    Format(String),
    Unsupported(UnsupportedFeature),
    Io(IoError),
    Internal(Box<StdError>),
}

Variants

Format(String)Unsupported(UnsupportedFeature)Io(IoError)Internal(Box<StdError>)

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl StdError for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&StdError>

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

impl From<IoError> for Error
[src]

fn from(err: IoError) -> Error

Performs the conversion.

impl From<RecvError> for Error
[src]

fn from(err: RecvError) -> Error

Performs the conversion.

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

fn from(err: SendError<T>) -> Error

Performs the conversion.