Enum png::EncodingError [] [src]

pub enum EncodingError {
    IoError(Error),
    Format(Cow<'static, str>),
}

Variants

IoError
Format

Trait Implementations

impl Error for EncodingError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

impl Display for EncodingError

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

impl From<Error> for EncodingError

fn from(err: Error) -> EncodingError

Derived Implementations

impl Debug for EncodingError

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