pub struct DisplayNameError(/* private fields */);Expand description
A malformed display name, reported without echoing untrusted text.
Trait Implementations§
Source§impl Clone for DisplayNameError
impl Clone for DisplayNameError
Source§impl Debug for DisplayNameError
impl Debug for DisplayNameError
Source§impl Display for DisplayNameError
impl Display for DisplayNameError
impl Eq for DisplayNameError
Source§impl Error for DisplayNameError
impl Error for DisplayNameError
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 PartialEq for DisplayNameError
impl PartialEq for DisplayNameError
impl StructuralPartialEq for DisplayNameError
Auto Trait Implementations§
impl Forget for DisplayNameError
impl Freeze for DisplayNameError
impl Move for DisplayNameError
impl RefUnwindSafe for DisplayNameError
impl Send for DisplayNameError
impl Sync for DisplayNameError
impl Unpin for DisplayNameError
impl UnsafeUnpin for DisplayNameError
impl UnwindSafe for DisplayNameError
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