pub enum ResetUserPasswordError {
Client(String),
DirectoryUnavailable(String),
EntityDoesNotExist(String),
InvalidPassword(String),
Service(String),
UnsupportedOperation(String),
UserDoesNotExist(String),
}
Expand description
Errors returned by ResetUserPassword
Variants§
Client(String)
A client exception has occurred.
The specified directory is unavailable or could not be found.
EntityDoesNotExist(String)
The specified entity could not be found.
InvalidPassword(String)
The new password provided by the user does not meet the password complexity requirements defined in your directory.
Service(String)
An exception has occurred in AWS Directory Service.
UnsupportedOperation(String)
The operation is not supported.
UserDoesNotExist(String)
The user provided a username that does not exist in your directory.
Implementations§
Source§impl ResetUserPasswordError
impl ResetUserPasswordError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ResetUserPasswordError>
Trait Implementations§
Source§impl Debug for ResetUserPasswordError
impl Debug for ResetUserPasswordError
Source§impl Display for ResetUserPasswordError
impl Display for ResetUserPasswordError
Source§impl Error for ResetUserPasswordError
impl Error for ResetUserPasswordError
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 ResetUserPasswordError
impl PartialEq for ResetUserPasswordError
impl StructuralPartialEq for ResetUserPasswordError
Auto Trait Implementations§
impl Freeze for ResetUserPasswordError
impl RefUnwindSafe for ResetUserPasswordError
impl Send for ResetUserPasswordError
impl Sync for ResetUserPasswordError
impl Unpin for ResetUserPasswordError
impl UnwindSafe for ResetUserPasswordError
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