Enum EncodingError
#[non_exhaustive]
pub enum EncodingError
Error that can occur during encoding.
Variants
-
IoError(Error) An IO error occurred.
-
InvalidDimensions The image dimensions are not allowed by the WebP format.
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<Error> for EncodingError
fn from(err: Error) -> EncodingError