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[src]
Formats the value using the given formatter. Read more
impl Error for EncodingError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for EncodingError[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl From<Error> for EncodingError[src]
fn from(err: Error) -> EncodingError[src]
Performs the conversion.
impl From<EncodingError> for Error[src]
fn from(err: EncodingError) -> Error[src]
Performs the conversion.