Struct aws_sdk_redshift::error::CopyClusterSnapshotError
source · [−]#[non_exhaustive]pub struct CopyClusterSnapshotError {
pub kind: CopyClusterSnapshotErrorKind,
/* private fields */
}
Expand description
Error type for the CopyClusterSnapshot
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: CopyClusterSnapshotErrorKind
Kind of error that occurred.
Implementations
Creates a new CopyClusterSnapshotError
.
Creates the CopyClusterSnapshotError::Unhandled
variant from any error type.
Creates the CopyClusterSnapshotError::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 CopyClusterSnapshotErrorKind::ClusterSnapshotAlreadyExistsFault
.
Returns true
if the error kind is CopyClusterSnapshotErrorKind::ClusterSnapshotNotFoundFault
.
Returns true
if the error kind is CopyClusterSnapshotErrorKind::ClusterSnapshotQuotaExceededFault
.
Returns true
if the error kind is CopyClusterSnapshotErrorKind::InvalidClusterSnapshotStateFault
.
Returns true
if the error kind is CopyClusterSnapshotErrorKind::InvalidRetentionPeriodFault
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CopyClusterSnapshotError
impl Send for CopyClusterSnapshotError
impl Sync for CopyClusterSnapshotError
impl Unpin for CopyClusterSnapshotError
impl !UnwindSafe for CopyClusterSnapshotError
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