pub enum ConnectDirectoryError {
Client(String),
DirectoryLimitExceeded(String),
InvalidParameter(String),
Service(String),
}
Expand description
Errors returned by ConnectDirectory
Variants§
Client(String)
A client exception has occurred.
DirectoryLimitExceeded(String)
The maximum number of directories in the region has been reached. You can use the GetDirectoryLimits operation to determine your directory limits in the region.
InvalidParameter(String)
One or more parameters are not valid.
Service(String)
An exception has occurred in AWS Directory Service.
Implementations§
Source§impl ConnectDirectoryError
impl ConnectDirectoryError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ConnectDirectoryError>
Trait Implementations§
Source§impl Debug for ConnectDirectoryError
impl Debug for ConnectDirectoryError
Source§impl Display for ConnectDirectoryError
impl Display for ConnectDirectoryError
Source§impl Error for ConnectDirectoryError
impl Error for ConnectDirectoryError
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 ConnectDirectoryError
impl PartialEq for ConnectDirectoryError
impl StructuralPartialEq for ConnectDirectoryError
Auto Trait Implementations§
impl Freeze for ConnectDirectoryError
impl RefUnwindSafe for ConnectDirectoryError
impl Send for ConnectDirectoryError
impl Sync for ConnectDirectoryError
impl Unpin for ConnectDirectoryError
impl UnwindSafe for ConnectDirectoryError
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