pub enum SetPasswordError {
TooLong(TooLong),
NoHost(NoHost),
}Expand description
The errors that can happen when setting a password.
Variants§
Trait Implementations§
Source§impl Debug for SetPasswordError
impl Debug for SetPasswordError
Source§impl Display for SetPasswordError
impl Display for SetPasswordError
Source§impl Error for SetPasswordError
impl Error for SetPasswordError
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<!> for SetPasswordError
impl From<!> for SetPasswordError
Source§fn from(value: Infallible) -> Self
fn from(value: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<NoHost> for SetPasswordError
impl From<NoHost> for SetPasswordError
Auto Trait Implementations§
impl Freeze for SetPasswordError
impl RefUnwindSafe for SetPasswordError
impl Send for SetPasswordError
impl Sync for SetPasswordError
impl Unpin for SetPasswordError
impl UnsafeUnpin for SetPasswordError
impl UnwindSafe for SetPasswordError
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