#[non_exhaustive]
pub enum ListRulesPackagesErrorKind {
AccessDeniedException(AccessDeniedException),
InternalException(InternalException),
InvalidInputException(InvalidInputException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the ListRulesPackages 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)
You do not have required permissions to access the requested resource.
InternalException(InternalException)
Internal server error.
InvalidInputException(InvalidInputException)
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
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 ListRulesPackagesErrorKind
impl Send for ListRulesPackagesErrorKind
impl Sync for ListRulesPackagesErrorKind
impl Unpin for ListRulesPackagesErrorKind
impl !UnwindSafe for ListRulesPackagesErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more