Struct aws_sdk_kms::error::ReEncryptError
source · [−]#[non_exhaustive]pub struct ReEncryptError {
pub kind: ReEncryptErrorKind,
/* private fields */
}Expand description
Error type for the ReEncrypt 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: ReEncryptErrorKindKind of error that occurred.
Implementations
Creates a new ReEncryptError.
Creates the ReEncryptError::Unhandled variant from any error type.
Creates the ReEncryptError::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 ReEncryptErrorKind::DependencyTimeoutException.
Returns true if the error kind is ReEncryptErrorKind::DisabledException.
Returns true if the error kind is ReEncryptErrorKind::IncorrectKeyException.
Returns true if the error kind is ReEncryptErrorKind::InvalidCiphertextException.
Returns true if the error kind is ReEncryptErrorKind::InvalidGrantTokenException.
Returns true if the error kind is ReEncryptErrorKind::InvalidKeyUsageException.
Returns true if the error kind is ReEncryptErrorKind::KeyUnavailableException.
Returns true if the error kind is ReEncryptErrorKind::KmsInternalException.
Returns true if the error kind is ReEncryptErrorKind::KmsInvalidStateException.
Returns true if the error kind is ReEncryptErrorKind::NotFoundException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ReEncryptError
impl Send for ReEncryptError
impl Sync for ReEncryptError
impl Unpin for ReEncryptError
impl !UnwindSafe for ReEncryptError
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