Enum png::EncodingError
[−]
[src]
pub enum EncodingError { IoError(Error), Format(Cow<'static, str>), }
Variants
IoError(Error)
Format(Cow<'static, str>)
Trait Implementations
impl Debug for EncodingError
[src]
impl Error for EncodingError
[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 EncodingError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<Error> for EncodingError
[src]
fn from(err: Error) -> EncodingError
Performs the conversion.