Enum EncodingError

#[non_exhaustive]
pub enum EncodingError

Encoding error.

Variants

FrameBufferTooSmallForDimensions

Frame buffer is too small for the declared dimensions.

OutOfMemory

Failed to internally allocate a buffer of sufficient size.

WriterNotFound

Expected a writer but none found.

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

impl Display for EncodingError

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

impl Error for EncodingError

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

impl From<EncodingFormatError> for EncodingError

fn from(err: EncodingFormatError) -> Self

impl From<Error> for EncodingError

fn from(err: Error) -> Self

Auto Trait Implementations

impl !RefUnwindSafe for EncodingError

impl !UnwindSafe for EncodingError

impl Freeze for EncodingError

impl Send for EncodingError

impl Sync for EncodingError

impl Unpin for EncodingError

impl UnsafeUnpin for EncodingError

Blanket Implementations

impl<T> Any for EncodingError where T: 'static + ?Sized,

impl<T> Borrow<T> for EncodingError where T: ?Sized,

impl<T> BorrowMut<T> for EncodingError where T: ?Sized,

impl<T> From<T> for EncodingError

impl<T> ToString for EncodingError where T: Display + ?Sized,

impl<T, U> Into<U> for EncodingError where U: From<T>,

impl<T, U> TryFrom<U> for EncodingError where U: Into<T>,

impl<T, U> TryInto<U> for EncodingError where U: TryFrom<T>,