#[non_exhaustive]
pub enum ListDestinationsErrorKind {
AccessDeniedException(AccessDeniedException),
InternalServerException(InternalServerException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the ListDestinations operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDeniedException(AccessDeniedException)
Tuple Fields
User does not have permission to perform this action.
InternalServerException(InternalServerException)
Tuple Fields
An unexpected error occurred while processing a request.
ThrottlingException(ThrottlingException)
Tuple Fields
The request was denied because it exceeded the allowed API request rate.
ValidationException(ValidationException)
Tuple Fields
The input did not meet the specified constraints.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListDestinationsErrorKind
impl Send for ListDestinationsErrorKind
impl Sync for ListDestinationsErrorKind
impl Unpin for ListDestinationsErrorKind
impl !UnwindSafe for ListDestinationsErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
