pub enum CreateLogSubscriptionError {
Client(String),
EntityAlreadyExists(String),
EntityDoesNotExist(String),
InsufficientPermissions(String),
Service(String),
UnsupportedOperation(String),
}
Expand description
Errors returned by CreateLogSubscription
Variants§
Client(String)
A client exception has occurred.
EntityAlreadyExists(String)
The specified entity already exists.
EntityDoesNotExist(String)
The specified entity could not be found.
InsufficientPermissions(String)
The account does not have sufficient permission to perform the operation.
Service(String)
An exception has occurred in AWS Directory Service.
UnsupportedOperation(String)
The operation is not supported.
Implementations§
Source§impl CreateLogSubscriptionError
impl CreateLogSubscriptionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateLogSubscriptionError>
Trait Implementations§
Source§impl Debug for CreateLogSubscriptionError
impl Debug for CreateLogSubscriptionError
Source§impl Display for CreateLogSubscriptionError
impl Display for CreateLogSubscriptionError
Source§impl Error for CreateLogSubscriptionError
impl Error for CreateLogSubscriptionError
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()
impl StructuralPartialEq for CreateLogSubscriptionError
Auto Trait Implementations§
impl Freeze for CreateLogSubscriptionError
impl RefUnwindSafe for CreateLogSubscriptionError
impl Send for CreateLogSubscriptionError
impl Sync for CreateLogSubscriptionError
impl Unpin for CreateLogSubscriptionError
impl UnwindSafe for CreateLogSubscriptionError
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