pub struct IconError(/* private fields */);Expand description
A malformed icon name, reported without echoing untrusted text.
Trait Implementations§
impl Eq for IconError
Source§impl Error for IconError
impl Error for IconError
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()
impl StructuralPartialEq for IconError
Auto Trait Implementations§
impl Forget for IconError
impl Freeze for IconError
impl Move for IconError
impl RefUnwindSafe for IconError
impl Send for IconError
impl Sync for IconError
impl Unpin for IconError
impl UnsafeUnpin for IconErrorwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for IconErrorwhere
&'static str: UnwindSafe,
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