pub enum KittyImageError {
IoError(Error),
ImageError(ImageError),
}Expand description
An error which occurred while rendering or writing an image with the Kitty image protocol.
Variants§
IoError(Error)
A general IO error.
ImageError(ImageError)
Processing a pixel image, e.g. for format conversion, failed
Trait Implementations§
source§impl Debug for KittyImageError
impl Debug for KittyImageError
source§impl Display for KittyImageError
impl Display for KittyImageError
source§impl Error for KittyImageError
impl Error for KittyImageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for KittyImageError
impl From<Error> for KittyImageError
source§impl From<ImageError> for KittyImageError
impl From<ImageError> for KittyImageError
source§fn from(source: ImageError) -> Self
fn from(source: ImageError) -> Self
Converts to this type from the input type.
source§impl From<KittyImageError> for Error
impl From<KittyImageError> for Error
source§fn from(value: KittyImageError) -> Self
fn from(value: KittyImageError) -> Self
Converts to this type from the input type.