Struct aws_sdk_directory::error::GetSnapshotLimitsError [−][src]
#[non_exhaustive]pub struct GetSnapshotLimitsError {
pub kind: GetSnapshotLimitsErrorKind,
// some fields omitted
}Expand description
Error type for the GetSnapshotLimits operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: GetSnapshotLimitsErrorKindKind of error that occurred.
Implementations
Creates a new GetSnapshotLimitsError.
Creates the GetSnapshotLimitsError::Unhandled variant from any error type.
Creates the GetSnapshotLimitsError::Unhandled variant from a aws_smithy_types::Error.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true if the error kind is GetSnapshotLimitsErrorKind::ClientException.
Returns true if the error kind is GetSnapshotLimitsErrorKind::EntityDoesNotExistException.
Returns true if the error kind is GetSnapshotLimitsErrorKind::ServiceException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetSnapshotLimitsError
impl Send for GetSnapshotLimitsError
impl Sync for GetSnapshotLimitsError
impl Unpin for GetSnapshotLimitsError
impl !UnwindSafe for GetSnapshotLimitsError
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