pub enum IconGenerationError {
IoError(Error),
ImageError(ImageError),
}
Variants§
IoError(Error)
ImageError(ImageError)
Trait Implementations§
Source§impl Debug for IconGenerationError
impl Debug for IconGenerationError
Source§impl Display for IconGenerationError
impl Display for IconGenerationError
Source§impl Error for IconGenerationError
impl Error for IconGenerationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for IconGenerationError
impl From<Error> for IconGenerationError
Source§impl From<ImageError> for IconGenerationError
impl From<ImageError> for IconGenerationError
Source§fn from(e: ImageError) -> Self
fn from(e: ImageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IconGenerationError
impl !RefUnwindSafe for IconGenerationError
impl Send for IconGenerationError
impl Sync for IconGenerationError
impl Unpin for IconGenerationError
impl !UnwindSafe for IconGenerationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more