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]

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

Formats the value using the given formatter.

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.

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.