aoclib::geometry::map

Type Alias EncodingError

source
pub type EncodingError = EncodingError;

Aliased Type§

enum EncodingError {
    Format(EncodingFormatError),
    Io(Error),
}

Variants§

§

Format(EncodingFormatError)

Returned if the to image is not encodable as a gif.

§

Io(Error)

Wraps std::io::Error.

Trait Implementations

§

impl Debug for EncodingError

§

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

Formats the value using the given formatter. Read more
§

impl Display for EncodingError

§

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

Formats the value using the given formatter. Read more
§

impl Error for EncodingError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

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

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<EncodingFormatError> for EncodingError

§

fn from(err: EncodingFormatError) -> EncodingError

Converts to this type from the input type.
§

impl From<Error> for EncodingError

§

fn from(err: Error) -> EncodingError

Converts to this type from the input type.
§

impl From<FormatErrorKind> for EncodingError

§

fn from(kind: FormatErrorKind) -> EncodingError

Converts to this type from the input type.