Enum picto::Error
[−]
[src]
pub enum Error { Io(Error), Format(String), Unsupported(String), }
Error enumeration type.
Variants
Io(Error)
An IO error.
Format(String)
An image format error.
Unsupported(String)
An unsupported error.
Trait Implementations
impl From<DecodingError> for Error
[src]
fn from(value: DecodingError) -> Self
Performs the conversion.
impl From<EncodingError> for Error
[src]
fn from(value: EncodingError) -> Self
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<DecodingError> for Error
[src]
fn from(value: DecodingError) -> Self
Performs the conversion.
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more