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
IoError(Error)
Format(Cow<'static, str>)
InvalidSignature
CrcMismatch
Other(Cow<'static, str>)
CorruptFlateStream
Trait Implementations
impl Debug for DecodingError
[src]
impl Error for DecodingError
[src]
fn description(&self) -> &str
[−]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[−]
The lower-level cause of this error, if any. Read more
impl Display for DecodingError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[−]
Formats the value using the given formatter. Read more
impl From<Error> for DecodingError
[src]
fn from(err: Error) -> DecodingError
[−]
Performs the conversion.
impl From<String> for DecodingError
[src]
fn from(err: String) -> DecodingError
[−]
Performs the conversion.