pub enum CreateDirectoryError {
Client(String),
DirectoryLimitExceeded(String),
InvalidParameter(String),
Service(String),
}
Expand description
Errors returned by CreateDirectory
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 CreateDirectoryError
impl CreateDirectoryError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateDirectoryError>
Trait Implementations§
Source§impl Debug for CreateDirectoryError
impl Debug for CreateDirectoryError
Source§impl Display for CreateDirectoryError
impl Display for CreateDirectoryError
Source§impl Error for CreateDirectoryError
impl Error for CreateDirectoryError
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 CreateDirectoryError
impl PartialEq for CreateDirectoryError
impl StructuralPartialEq for CreateDirectoryError
Auto Trait Implementations§
impl Freeze for CreateDirectoryError
impl RefUnwindSafe for CreateDirectoryError
impl Send for CreateDirectoryError
impl Sync for CreateDirectoryError
impl Unpin for CreateDirectoryError
impl UnwindSafe for CreateDirectoryError
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