pub enum IconError {
InvalidIconId,
}
Expand description
Error type for icon conversion errors.
Variants§
InvalidIconId
Invalid icon identifier.
Trait Implementations§
source§impl Error for IconError
impl Error for IconError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl PartialEq<IconError> for IconError
impl PartialEq<IconError> for IconError
impl StructuralPartialEq for IconError
Auto Trait Implementations§
impl RefUnwindSafe for IconError
impl Send for IconError
impl Sync for IconError
impl Unpin for IconError
impl UnwindSafe for IconError
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