pub enum ProfileDisplayNameError {
Empty,
TooLong {
actual: usize,
maximum: usize,
},
SurroundingWhitespace,
ControlCharacter,
}Variants§
Trait Implementations§
Source§impl Clone for ProfileDisplayNameError
impl Clone for ProfileDisplayNameError
impl Copy for ProfileDisplayNameError
Source§impl Debug for ProfileDisplayNameError
impl Debug for ProfileDisplayNameError
Source§impl Display for ProfileDisplayNameError
impl Display for ProfileDisplayNameError
impl Eq for ProfileDisplayNameError
Source§impl Error for ProfileDisplayNameError
impl Error for ProfileDisplayNameError
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 ProfileDisplayNameError
impl PartialEq for ProfileDisplayNameError
impl StructuralPartialEq for ProfileDisplayNameError
Auto Trait Implementations§
impl Freeze for ProfileDisplayNameError
impl RefUnwindSafe for ProfileDisplayNameError
impl Send for ProfileDisplayNameError
impl Sync for ProfileDisplayNameError
impl Unpin for ProfileDisplayNameError
impl UnsafeUnpin for ProfileDisplayNameError
impl UnwindSafe for ProfileDisplayNameError
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