Enum png::DecodingError [] [src]

pub enum DecodingError {
    IoError(Error),
    Format(Cow<'static, str>),
    InvalidSignature,
    CrcMismatch {
        recover: usize,
        crc_val: u32,
        crc_sum: u32,
        chunk: ChunkType,
    },
    Other(Cow<'static, str>),
    CorruptFlateStream,
}

Variants

Trait Implementations

impl Debug for DecodingError
[src]

[]

Formats the value using the given formatter.

impl Error for DecodingError
[src]

[]

A short description of the error. Read more

[]

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

impl Display for DecodingError
[src]

[]

Formats the value using the given formatter. Read more

impl From<Error> for DecodingError
[src]

[]

Performs the conversion.

impl From<String> for DecodingError
[src]

[]

Performs the conversion.