#[non_exhaustive]pub enum Error {
Show 77 variants
ApiCallRateForCustomerExceededFault(ApiCallRateForCustomerExceededFault),
AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault),
AuthorizationNotFoundFault(AuthorizationNotFoundFault),
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault),
CacheClusterNotFoundFault(CacheClusterNotFoundFault),
CacheParameterGroupAlreadyExistsFault(CacheParameterGroupAlreadyExistsFault),
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault),
CacheParameterGroupQuotaExceededFault(CacheParameterGroupQuotaExceededFault),
CacheSecurityGroupAlreadyExistsFault(CacheSecurityGroupAlreadyExistsFault),
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault),
CacheSecurityGroupQuotaExceededFault(CacheSecurityGroupQuotaExceededFault),
CacheSubnetGroupAlreadyExistsFault(CacheSubnetGroupAlreadyExistsFault),
CacheSubnetGroupInUse(CacheSubnetGroupInUse),
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault),
CacheSubnetGroupQuotaExceededFault(CacheSubnetGroupQuotaExceededFault),
CacheSubnetQuotaExceededFault(CacheSubnetQuotaExceededFault),
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault),
DefaultUserAssociatedToUserGroupFault(DefaultUserAssociatedToUserGroupFault),
DefaultUserRequired(DefaultUserRequired),
DuplicateUserNameFault(DuplicateUserNameFault),
GlobalReplicationGroupAlreadyExistsFault(GlobalReplicationGroupAlreadyExistsFault),
GlobalReplicationGroupNotFoundFault(GlobalReplicationGroupNotFoundFault),
InsufficientCacheClusterCapacityFault(InsufficientCacheClusterCapacityFault),
InvalidArnFault(InvalidArnFault),
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault),
InvalidCacheParameterGroupStateFault(InvalidCacheParameterGroupStateFault),
InvalidCacheSecurityGroupStateFault(InvalidCacheSecurityGroupStateFault),
InvalidCredentialsException(InvalidCredentialsException),
InvalidGlobalReplicationGroupStateFault(InvalidGlobalReplicationGroupStateFault),
InvalidKmsKeyFault(InvalidKmsKeyFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault),
InvalidServerlessCacheSnapshotStateFault(InvalidServerlessCacheSnapshotStateFault),
InvalidServerlessCacheStateFault(InvalidServerlessCacheStateFault),
InvalidSnapshotStateFault(InvalidSnapshotStateFault),
InvalidSubnet(InvalidSubnet),
InvalidUserGroupStateFault(InvalidUserGroupStateFault),
InvalidUserStateFault(InvalidUserStateFault),
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault),
NoOperationFault(NoOperationFault),
NodeGroupNotFoundFault(NodeGroupNotFoundFault),
NodeGroupsPerReplicationGroupQuotaExceededFault(NodeGroupsPerReplicationGroupQuotaExceededFault),
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault),
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault),
ReplicationGroupAlreadyExistsFault(ReplicationGroupAlreadyExistsFault),
ReplicationGroupAlreadyUnderMigrationFault(ReplicationGroupAlreadyUnderMigrationFault),
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault),
ReplicationGroupNotUnderMigrationFault(ReplicationGroupNotUnderMigrationFault),
ReservedCacheNodeAlreadyExistsFault(ReservedCacheNodeAlreadyExistsFault),
ReservedCacheNodeNotFoundFault(ReservedCacheNodeNotFoundFault),
ReservedCacheNodeQuotaExceededFault(ReservedCacheNodeQuotaExceededFault),
ReservedCacheNodesOfferingNotFoundFault(ReservedCacheNodesOfferingNotFoundFault),
ServerlessCacheAlreadyExistsFault(ServerlessCacheAlreadyExistsFault),
ServerlessCacheNotFoundFault(ServerlessCacheNotFoundFault),
ServerlessCacheQuotaForCustomerExceededFault(ServerlessCacheQuotaForCustomerExceededFault),
ServerlessCacheSnapshotAlreadyExistsFault(ServerlessCacheSnapshotAlreadyExistsFault),
ServerlessCacheSnapshotNotFoundFault(ServerlessCacheSnapshotNotFoundFault),
ServerlessCacheSnapshotQuotaExceededFault(ServerlessCacheSnapshotQuotaExceededFault),
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
ServiceUpdateNotFoundFault(ServiceUpdateNotFoundFault),
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault),
SnapshotFeatureNotSupportedFault(SnapshotFeatureNotSupportedFault),
SnapshotNotFoundFault(SnapshotNotFoundFault),
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault),
SubnetInUse(SubnetInUse),
SubnetNotAllowedFault(SubnetNotAllowedFault),
TagNotFoundFault(TagNotFoundFault),
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded),
TestFailoverNotAvailableFault(TestFailoverNotAvailableFault),
UserAlreadyExistsFault(UserAlreadyExistsFault),
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault),
UserGroupNotFoundFault(UserGroupNotFoundFault),
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault),
UserNotFoundFault(UserNotFoundFault),
UserQuotaExceededFault(UserQuotaExceededFault),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ApiCallRateForCustomerExceededFault(ApiCallRateForCustomerExceededFault)
The customer has exceeded the allowed rate of API calls.
AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault)
The specified Amazon EC2 security group is already authorized for the specified cache security group.
AuthorizationNotFoundFault(AuthorizationNotFoundFault)
The specified Amazon EC2 security group is not authorized for the specified cache security group.
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault)
You already have a cluster with the given identifier.
CacheClusterNotFoundFault(CacheClusterNotFoundFault)
The requested cluster ID does not refer to an existing cluster.
CacheParameterGroupAlreadyExistsFault(CacheParameterGroupAlreadyExistsFault)
A cache parameter group with the requested name already exists.
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault)
The requested cache parameter group name does not refer to an existing cache parameter group.
CacheParameterGroupQuotaExceededFault(CacheParameterGroupQuotaExceededFault)
The request cannot be processed because it would exceed the maximum number of cache security groups.
CacheSecurityGroupAlreadyExistsFault(CacheSecurityGroupAlreadyExistsFault)
A cache security group with the specified name already exists.
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault)
The requested cache security group name does not refer to an existing cache security group.
CacheSecurityGroupQuotaExceededFault(CacheSecurityGroupQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of cache security groups.
CacheSubnetGroupAlreadyExistsFault(CacheSubnetGroupAlreadyExistsFault)
The requested cache subnet group name is already in use by an existing cache subnet group.
CacheSubnetGroupInUse(CacheSubnetGroupInUse)
The requested cache subnet group is currently in use.
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault)
The requested cache subnet group name does not refer to an existing cache subnet group.
CacheSubnetGroupQuotaExceededFault(CacheSubnetGroupQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of cache subnet groups.
CacheSubnetQuotaExceededFault(CacheSubnetQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault)
The request cannot be processed because it would exceed the allowed number of clusters per customer.
DefaultUserAssociatedToUserGroupFault(DefaultUserAssociatedToUserGroupFault)
The default user assigned to the user group.
DefaultUserRequired(DefaultUserRequired)
You must add default user to a user group.
DuplicateUserNameFault(DuplicateUserNameFault)
A user with this username already exists.
GlobalReplicationGroupAlreadyExistsFault(GlobalReplicationGroupAlreadyExistsFault)
The Global datastore name already exists.
GlobalReplicationGroupNotFoundFault(GlobalReplicationGroupNotFoundFault)
The Global datastore does not exist
InsufficientCacheClusterCapacityFault(InsufficientCacheClusterCapacityFault)
The requested cache node type is not available in the specified Availability Zone. For more information, see InsufficientCacheClusterCapacity in the ElastiCache User Guide.
InvalidArnFault(InvalidArnFault)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault)
The requested cluster is not in the available
state.
InvalidCacheParameterGroupStateFault(InvalidCacheParameterGroupStateFault)
The current state of the cache parameter group does not allow the requested operation to occur.
InvalidCacheSecurityGroupStateFault(InvalidCacheSecurityGroupStateFault)
The current state of the cache security group does not allow deletion.
InvalidCredentialsException(InvalidCredentialsException)
You must enter valid credentials.
InvalidGlobalReplicationGroupStateFault(InvalidGlobalReplicationGroupStateFault)
The Global datastore is not available or in primary-only state.
InvalidKmsKeyFault(InvalidKmsKeyFault)
The KMS key supplied is not valid.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Two or more incompatible parameters were specified.
InvalidParameterValueException(InvalidParameterValueException)
The value for a parameter is invalid.
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault)
The requested replication group is not in the available
state.
InvalidServerlessCacheSnapshotStateFault(InvalidServerlessCacheSnapshotStateFault)
The state of the serverless cache snapshot was not received. Available for Valkey, Redis OSS and Serverless Memcached only.
InvalidServerlessCacheStateFault(InvalidServerlessCacheStateFault)
The account for these credentials is not currently active.
InvalidSnapshotStateFault(InvalidSnapshotStateFault)
The current state of the snapshot does not allow the requested operation to occur.
InvalidSubnet(InvalidSubnet)
An invalid subnet identifier was specified.
InvalidUserGroupStateFault(InvalidUserGroupStateFault)
The user group is not in an active state.
InvalidUserStateFault(InvalidUserStateFault)
The user is not in active state.
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
The VPC network is in an invalid state.
NoOperationFault(NoOperationFault)
The operation was not performed because no changes were required.
NodeGroupNotFoundFault(NodeGroupNotFoundFault)
The node group specified by the NodeGroupId
parameter could not be found. Please verify that the node group exists and that you spelled the NodeGroupId
value correctly.
NodeGroupsPerReplicationGroupQuotaExceededFault(NodeGroupsPerReplicationGroupQuotaExceededFault)
The request cannot be processed because it would exceed the maximum allowed number of node groups (shards) in a single replication group. The default maximum is 90
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault)
The request cannot be processed because it would exceed the allowed number of cache nodes in a single cluster.
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault)
The request cannot be processed because it would exceed the allowed number of cache nodes per customer.
ReplicationGroupAlreadyExistsFault(ReplicationGroupAlreadyExistsFault)
The specified replication group already exists.
ReplicationGroupAlreadyUnderMigrationFault(ReplicationGroupAlreadyUnderMigrationFault)
The targeted replication group is not available.
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault)
The specified replication group does not exist.
ReplicationGroupNotUnderMigrationFault(ReplicationGroupNotUnderMigrationFault)
The designated replication group is not available for data migration.
ReservedCacheNodeAlreadyExistsFault(ReservedCacheNodeAlreadyExistsFault)
You already have a reservation with the given identifier.
ReservedCacheNodeNotFoundFault(ReservedCacheNodeNotFoundFault)
The requested reserved cache node was not found.
ReservedCacheNodeQuotaExceededFault(ReservedCacheNodeQuotaExceededFault)
The request cannot be processed because it would exceed the user's cache node quota.
ReservedCacheNodesOfferingNotFoundFault(ReservedCacheNodesOfferingNotFoundFault)
The requested cache node offering does not exist.
ServerlessCacheAlreadyExistsFault(ServerlessCacheAlreadyExistsFault)
A serverless cache with this name already exists.
ServerlessCacheNotFoundFault(ServerlessCacheNotFoundFault)
The serverless cache was not found or does not exist.
ServerlessCacheQuotaForCustomerExceededFault(ServerlessCacheQuotaForCustomerExceededFault)
The number of serverless caches exceeds the customer quota.
ServerlessCacheSnapshotAlreadyExistsFault(ServerlessCacheSnapshotAlreadyExistsFault)
A serverless cache snapshot with this name already exists. Available for Valkey, Redis OSS and Serverless Memcached only.
ServerlessCacheSnapshotNotFoundFault(ServerlessCacheSnapshotNotFoundFault)
This serverless cache snapshot could not be found or does not exist. Available for Valkey, Redis OSS and Serverless Memcached only.
ServerlessCacheSnapshotQuotaExceededFault(ServerlessCacheSnapshotQuotaExceededFault)
The number of serverless cache snapshots exceeds the customer snapshot quota. Available for Valkey, Redis OSS and Serverless Memcached only.
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
The specified service linked role (SLR) was not found.
ServiceUpdateNotFoundFault(ServiceUpdateNotFoundFault)
The service update doesn't exist
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault)
You already have a snapshot with the given name.
SnapshotFeatureNotSupportedFault(SnapshotFeatureNotSupportedFault)
You attempted one of the following operations:
-
Creating a snapshot of a Valkey or Redis OSS cluster running on a
cache.t1.micro
cache node. -
Creating a snapshot of a cluster that is running Memcached rather than Valkey or Redis OSS.
Neither of these are supported by ElastiCache.
SnapshotNotFoundFault(SnapshotNotFoundFault)
The requested snapshot name does not refer to an existing snapshot.
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)
The request cannot be processed because it would exceed the maximum number of snapshots.
SubnetInUse(SubnetInUse)
The requested subnet is being used by another cache subnet group.
SubnetNotAllowedFault(SubnetNotAllowedFault)
At least one subnet ID does not match the other subnet IDs. This mismatch typically occurs when a user sets one subnet ID to a regional Availability Zone and a different one to an outpost. Or when a user sets the subnet ID to an Outpost when not subscribed on this service.
TagNotFoundFault(TagNotFoundFault)
The requested tag was not found on this resource.
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded)
The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 50.
TestFailoverNotAvailableFault(TestFailoverNotAvailableFault)
The TestFailover
action is not available.
UserAlreadyExistsFault(UserAlreadyExistsFault)
A user with this ID already exists.
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault)
The user group with this ID already exists.
UserGroupNotFoundFault(UserGroupNotFoundFault)
The user group was not found or does not exist
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault)
The number of users exceeds the user group limit.
UserNotFoundFault(UserNotFoundFault)
The user does not exist or could not be found.
UserQuotaExceededFault(UserQuotaExceededFault)
The quota of users has been exceeded.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<AddTagsToResourceError> for Error
impl From<AddTagsToResourceError> for Error
Source§fn from(err: AddTagsToResourceError) -> Self
fn from(err: AddTagsToResourceError) -> Self
Source§impl From<AuthorizeCacheSecurityGroupIngressError> for Error
impl From<AuthorizeCacheSecurityGroupIngressError> for Error
Source§fn from(err: AuthorizeCacheSecurityGroupIngressError) -> Self
fn from(err: AuthorizeCacheSecurityGroupIngressError) -> Self
Source§impl From<BatchApplyUpdateActionError> for Error
impl From<BatchApplyUpdateActionError> for Error
Source§fn from(err: BatchApplyUpdateActionError) -> Self
fn from(err: BatchApplyUpdateActionError) -> Self
Source§impl From<BatchStopUpdateActionError> for Error
impl From<BatchStopUpdateActionError> for Error
Source§fn from(err: BatchStopUpdateActionError) -> Self
fn from(err: BatchStopUpdateActionError) -> Self
Source§impl From<BuildError> for Error
impl From<BuildError> for Error
Source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
Source§impl From<CompleteMigrationError> for Error
impl From<CompleteMigrationError> for Error
Source§fn from(err: CompleteMigrationError) -> Self
fn from(err: CompleteMigrationError) -> Self
Source§impl From<CopyServerlessCacheSnapshotError> for Error
impl From<CopyServerlessCacheSnapshotError> for Error
Source§fn from(err: CopyServerlessCacheSnapshotError) -> Self
fn from(err: CopyServerlessCacheSnapshotError) -> Self
Source§impl From<CopySnapshotError> for Error
impl From<CopySnapshotError> for Error
Source§fn from(err: CopySnapshotError) -> Self
fn from(err: CopySnapshotError) -> Self
Source§impl From<CreateCacheClusterError> for Error
impl From<CreateCacheClusterError> for Error
Source§fn from(err: CreateCacheClusterError) -> Self
fn from(err: CreateCacheClusterError) -> Self
Source§impl From<CreateCacheParameterGroupError> for Error
impl From<CreateCacheParameterGroupError> for Error
Source§fn from(err: CreateCacheParameterGroupError) -> Self
fn from(err: CreateCacheParameterGroupError) -> Self
Source§impl From<CreateCacheSecurityGroupError> for Error
impl From<CreateCacheSecurityGroupError> for Error
Source§fn from(err: CreateCacheSecurityGroupError) -> Self
fn from(err: CreateCacheSecurityGroupError) -> Self
Source§impl From<CreateCacheSubnetGroupError> for Error
impl From<CreateCacheSubnetGroupError> for Error
Source§fn from(err: CreateCacheSubnetGroupError) -> Self
fn from(err: CreateCacheSubnetGroupError) -> Self
Source§impl From<CreateGlobalReplicationGroupError> for Error
impl From<CreateGlobalReplicationGroupError> for Error
Source§fn from(err: CreateGlobalReplicationGroupError) -> Self
fn from(err: CreateGlobalReplicationGroupError) -> Self
Source§impl From<CreateReplicationGroupError> for Error
impl From<CreateReplicationGroupError> for Error
Source§fn from(err: CreateReplicationGroupError) -> Self
fn from(err: CreateReplicationGroupError) -> Self
Source§impl From<CreateServerlessCacheError> for Error
impl From<CreateServerlessCacheError> for Error
Source§fn from(err: CreateServerlessCacheError) -> Self
fn from(err: CreateServerlessCacheError) -> Self
Source§impl From<CreateServerlessCacheSnapshotError> for Error
impl From<CreateServerlessCacheSnapshotError> for Error
Source§fn from(err: CreateServerlessCacheSnapshotError) -> Self
fn from(err: CreateServerlessCacheSnapshotError) -> Self
Source§impl From<CreateSnapshotError> for Error
impl From<CreateSnapshotError> for Error
Source§fn from(err: CreateSnapshotError) -> Self
fn from(err: CreateSnapshotError) -> Self
Source§impl From<CreateUserError> for Error
impl From<CreateUserError> for Error
Source§fn from(err: CreateUserError) -> Self
fn from(err: CreateUserError) -> Self
Source§impl From<CreateUserGroupError> for Error
impl From<CreateUserGroupError> for Error
Source§fn from(err: CreateUserGroupError) -> Self
fn from(err: CreateUserGroupError) -> Self
Source§impl From<DecreaseNodeGroupsInGlobalReplicationGroupError> for Error
impl From<DecreaseNodeGroupsInGlobalReplicationGroupError> for Error
Source§fn from(err: DecreaseNodeGroupsInGlobalReplicationGroupError) -> Self
fn from(err: DecreaseNodeGroupsInGlobalReplicationGroupError) -> Self
Source§impl From<DecreaseReplicaCountError> for Error
impl From<DecreaseReplicaCountError> for Error
Source§fn from(err: DecreaseReplicaCountError) -> Self
fn from(err: DecreaseReplicaCountError) -> Self
Source§impl From<DeleteCacheClusterError> for Error
impl From<DeleteCacheClusterError> for Error
Source§fn from(err: DeleteCacheClusterError) -> Self
fn from(err: DeleteCacheClusterError) -> Self
Source§impl From<DeleteCacheParameterGroupError> for Error
impl From<DeleteCacheParameterGroupError> for Error
Source§fn from(err: DeleteCacheParameterGroupError) -> Self
fn from(err: DeleteCacheParameterGroupError) -> Self
Source§impl From<DeleteCacheSecurityGroupError> for Error
impl From<DeleteCacheSecurityGroupError> for Error
Source§fn from(err: DeleteCacheSecurityGroupError) -> Self
fn from(err: DeleteCacheSecurityGroupError) -> Self
Source§impl From<DeleteCacheSubnetGroupError> for Error
impl From<DeleteCacheSubnetGroupError> for Error
Source§fn from(err: DeleteCacheSubnetGroupError) -> Self
fn from(err: DeleteCacheSubnetGroupError) -> Self
Source§impl From<DeleteGlobalReplicationGroupError> for Error
impl From<DeleteGlobalReplicationGroupError> for Error
Source§fn from(err: DeleteGlobalReplicationGroupError) -> Self
fn from(err: DeleteGlobalReplicationGroupError) -> Self
Source§impl From<DeleteReplicationGroupError> for Error
impl From<DeleteReplicationGroupError> for Error
Source§fn from(err: DeleteReplicationGroupError) -> Self
fn from(err: DeleteReplicationGroupError) -> Self
Source§impl From<DeleteServerlessCacheError> for Error
impl From<DeleteServerlessCacheError> for Error
Source§fn from(err: DeleteServerlessCacheError) -> Self
fn from(err: DeleteServerlessCacheError) -> Self
Source§impl From<DeleteServerlessCacheSnapshotError> for Error
impl From<DeleteServerlessCacheSnapshotError> for Error
Source§fn from(err: DeleteServerlessCacheSnapshotError) -> Self
fn from(err: DeleteServerlessCacheSnapshotError) -> Self
Source§impl From<DeleteSnapshotError> for Error
impl From<DeleteSnapshotError> for Error
Source§fn from(err: DeleteSnapshotError) -> Self
fn from(err: DeleteSnapshotError) -> Self
Source§impl From<DeleteUserError> for Error
impl From<DeleteUserError> for Error
Source§fn from(err: DeleteUserError) -> Self
fn from(err: DeleteUserError) -> Self
Source§impl From<DeleteUserGroupError> for Error
impl From<DeleteUserGroupError> for Error
Source§fn from(err: DeleteUserGroupError) -> Self
fn from(err: DeleteUserGroupError) -> Self
Source§impl From<DescribeCacheClustersError> for Error
impl From<DescribeCacheClustersError> for Error
Source§fn from(err: DescribeCacheClustersError) -> Self
fn from(err: DescribeCacheClustersError) -> Self
Source§impl From<DescribeCacheEngineVersionsError> for Error
impl From<DescribeCacheEngineVersionsError> for Error
Source§fn from(err: DescribeCacheEngineVersionsError) -> Self
fn from(err: DescribeCacheEngineVersionsError) -> Self
Source§impl From<DescribeCacheParameterGroupsError> for Error
impl From<DescribeCacheParameterGroupsError> for Error
Source§fn from(err: DescribeCacheParameterGroupsError) -> Self
fn from(err: DescribeCacheParameterGroupsError) -> Self
Source§impl From<DescribeCacheParametersError> for Error
impl From<DescribeCacheParametersError> for Error
Source§fn from(err: DescribeCacheParametersError) -> Self
fn from(err: DescribeCacheParametersError) -> Self
Source§impl From<DescribeCacheSecurityGroupsError> for Error
impl From<DescribeCacheSecurityGroupsError> for Error
Source§fn from(err: DescribeCacheSecurityGroupsError) -> Self
fn from(err: DescribeCacheSecurityGroupsError) -> Self
Source§impl From<DescribeCacheSubnetGroupsError> for Error
impl From<DescribeCacheSubnetGroupsError> for Error
Source§fn from(err: DescribeCacheSubnetGroupsError) -> Self
fn from(err: DescribeCacheSubnetGroupsError) -> Self
Source§impl From<DescribeEngineDefaultParametersError> for Error
impl From<DescribeEngineDefaultParametersError> for Error
Source§fn from(err: DescribeEngineDefaultParametersError) -> Self
fn from(err: DescribeEngineDefaultParametersError) -> Self
Source§impl From<DescribeEventsError> for Error
impl From<DescribeEventsError> for Error
Source§fn from(err: DescribeEventsError) -> Self
fn from(err: DescribeEventsError) -> Self
Source§impl From<DescribeGlobalReplicationGroupsError> for Error
impl From<DescribeGlobalReplicationGroupsError> for Error
Source§fn from(err: DescribeGlobalReplicationGroupsError) -> Self
fn from(err: DescribeGlobalReplicationGroupsError) -> Self
Source§impl From<DescribeReplicationGroupsError> for Error
impl From<DescribeReplicationGroupsError> for Error
Source§fn from(err: DescribeReplicationGroupsError) -> Self
fn from(err: DescribeReplicationGroupsError) -> Self
Source§impl From<DescribeReservedCacheNodesError> for Error
impl From<DescribeReservedCacheNodesError> for Error
Source§fn from(err: DescribeReservedCacheNodesError) -> Self
fn from(err: DescribeReservedCacheNodesError) -> Self
Source§impl From<DescribeReservedCacheNodesOfferingsError> for Error
impl From<DescribeReservedCacheNodesOfferingsError> for Error
Source§fn from(err: DescribeReservedCacheNodesOfferingsError) -> Self
fn from(err: DescribeReservedCacheNodesOfferingsError) -> Self
Source§impl From<DescribeServerlessCacheSnapshotsError> for Error
impl From<DescribeServerlessCacheSnapshotsError> for Error
Source§fn from(err: DescribeServerlessCacheSnapshotsError) -> Self
fn from(err: DescribeServerlessCacheSnapshotsError) -> Self
Source§impl From<DescribeServerlessCachesError> for Error
impl From<DescribeServerlessCachesError> for Error
Source§fn from(err: DescribeServerlessCachesError) -> Self
fn from(err: DescribeServerlessCachesError) -> Self
Source§impl From<DescribeServiceUpdatesError> for Error
impl From<DescribeServiceUpdatesError> for Error
Source§fn from(err: DescribeServiceUpdatesError) -> Self
fn from(err: DescribeServiceUpdatesError) -> Self
Source§impl From<DescribeSnapshotsError> for Error
impl From<DescribeSnapshotsError> for Error
Source§fn from(err: DescribeSnapshotsError) -> Self
fn from(err: DescribeSnapshotsError) -> Self
Source§impl From<DescribeUpdateActionsError> for Error
impl From<DescribeUpdateActionsError> for Error
Source§fn from(err: DescribeUpdateActionsError) -> Self
fn from(err: DescribeUpdateActionsError) -> Self
Source§impl From<DescribeUserGroupsError> for Error
impl From<DescribeUserGroupsError> for Error
Source§fn from(err: DescribeUserGroupsError) -> Self
fn from(err: DescribeUserGroupsError) -> Self
Source§impl From<DescribeUsersError> for Error
impl From<DescribeUsersError> for Error
Source§fn from(err: DescribeUsersError) -> Self
fn from(err: DescribeUsersError) -> Self
Source§impl From<DisassociateGlobalReplicationGroupError> for Error
impl From<DisassociateGlobalReplicationGroupError> for Error
Source§fn from(err: DisassociateGlobalReplicationGroupError) -> Self
fn from(err: DisassociateGlobalReplicationGroupError) -> Self
Source§impl From<ExportServerlessCacheSnapshotError> for Error
impl From<ExportServerlessCacheSnapshotError> for Error
Source§fn from(err: ExportServerlessCacheSnapshotError) -> Self
fn from(err: ExportServerlessCacheSnapshotError) -> Self
Source§impl From<FailoverGlobalReplicationGroupError> for Error
impl From<FailoverGlobalReplicationGroupError> for Error
Source§fn from(err: FailoverGlobalReplicationGroupError) -> Self
fn from(err: FailoverGlobalReplicationGroupError) -> Self
Source§impl From<IncreaseNodeGroupsInGlobalReplicationGroupError> for Error
impl From<IncreaseNodeGroupsInGlobalReplicationGroupError> for Error
Source§fn from(err: IncreaseNodeGroupsInGlobalReplicationGroupError) -> Self
fn from(err: IncreaseNodeGroupsInGlobalReplicationGroupError) -> Self
Source§impl From<IncreaseReplicaCountError> for Error
impl From<IncreaseReplicaCountError> for Error
Source§fn from(err: IncreaseReplicaCountError) -> Self
fn from(err: IncreaseReplicaCountError) -> Self
Source§impl From<ListAllowedNodeTypeModificationsError> for Error
impl From<ListAllowedNodeTypeModificationsError> for Error
Source§fn from(err: ListAllowedNodeTypeModificationsError) -> Self
fn from(err: ListAllowedNodeTypeModificationsError) -> Self
Source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
Source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
Source§impl From<ModifyCacheClusterError> for Error
impl From<ModifyCacheClusterError> for Error
Source§fn from(err: ModifyCacheClusterError) -> Self
fn from(err: ModifyCacheClusterError) -> Self
Source§impl From<ModifyCacheParameterGroupError> for Error
impl From<ModifyCacheParameterGroupError> for Error
Source§fn from(err: ModifyCacheParameterGroupError) -> Self
fn from(err: ModifyCacheParameterGroupError) -> Self
Source§impl From<ModifyCacheSubnetGroupError> for Error
impl From<ModifyCacheSubnetGroupError> for Error
Source§fn from(err: ModifyCacheSubnetGroupError) -> Self
fn from(err: ModifyCacheSubnetGroupError) -> Self
Source§impl From<ModifyGlobalReplicationGroupError> for Error
impl From<ModifyGlobalReplicationGroupError> for Error
Source§fn from(err: ModifyGlobalReplicationGroupError) -> Self
fn from(err: ModifyGlobalReplicationGroupError) -> Self
Source§impl From<ModifyReplicationGroupError> for Error
impl From<ModifyReplicationGroupError> for Error
Source§fn from(err: ModifyReplicationGroupError) -> Self
fn from(err: ModifyReplicationGroupError) -> Self
Source§impl From<ModifyReplicationGroupShardConfigurationError> for Error
impl From<ModifyReplicationGroupShardConfigurationError> for Error
Source§fn from(err: ModifyReplicationGroupShardConfigurationError) -> Self
fn from(err: ModifyReplicationGroupShardConfigurationError) -> Self
Source§impl From<ModifyServerlessCacheError> for Error
impl From<ModifyServerlessCacheError> for Error
Source§fn from(err: ModifyServerlessCacheError) -> Self
fn from(err: ModifyServerlessCacheError) -> Self
Source§impl From<ModifyUserError> for Error
impl From<ModifyUserError> for Error
Source§fn from(err: ModifyUserError) -> Self
fn from(err: ModifyUserError) -> Self
Source§impl From<ModifyUserGroupError> for Error
impl From<ModifyUserGroupError> for Error
Source§fn from(err: ModifyUserGroupError) -> Self
fn from(err: ModifyUserGroupError) -> Self
Source§impl From<PurchaseReservedCacheNodesOfferingError> for Error
impl From<PurchaseReservedCacheNodesOfferingError> for Error
Source§fn from(err: PurchaseReservedCacheNodesOfferingError) -> Self
fn from(err: PurchaseReservedCacheNodesOfferingError) -> Self
Source§impl From<RebalanceSlotsInGlobalReplicationGroupError> for Error
impl From<RebalanceSlotsInGlobalReplicationGroupError> for Error
Source§fn from(err: RebalanceSlotsInGlobalReplicationGroupError) -> Self
fn from(err: RebalanceSlotsInGlobalReplicationGroupError) -> Self
Source§impl From<RebootCacheClusterError> for Error
impl From<RebootCacheClusterError> for Error
Source§fn from(err: RebootCacheClusterError) -> Self
fn from(err: RebootCacheClusterError) -> Self
Source§impl From<RemoveTagsFromResourceError> for Error
impl From<RemoveTagsFromResourceError> for Error
Source§fn from(err: RemoveTagsFromResourceError) -> Self
fn from(err: RemoveTagsFromResourceError) -> Self
Source§impl From<ResetCacheParameterGroupError> for Error
impl From<ResetCacheParameterGroupError> for Error
Source§fn from(err: ResetCacheParameterGroupError) -> Self
fn from(err: ResetCacheParameterGroupError) -> Self
Source§impl From<RevokeCacheSecurityGroupIngressError> for Error
impl From<RevokeCacheSecurityGroupIngressError> for Error
Source§fn from(err: RevokeCacheSecurityGroupIngressError) -> Self
fn from(err: RevokeCacheSecurityGroupIngressError) -> Self
Source§impl<R> From<SdkError<AddTagsToResourceError, R>> for Error
impl<R> From<SdkError<AddTagsToResourceError, R>> for Error
Source§fn from(err: SdkError<AddTagsToResourceError, R>) -> Self
fn from(err: SdkError<AddTagsToResourceError, R>) -> Self
Source§impl<R> From<SdkError<AuthorizeCacheSecurityGroupIngressError, R>> for Error
impl<R> From<SdkError<AuthorizeCacheSecurityGroupIngressError, R>> for Error
Source§fn from(err: SdkError<AuthorizeCacheSecurityGroupIngressError, R>) -> Self
fn from(err: SdkError<AuthorizeCacheSecurityGroupIngressError, R>) -> Self
Source§impl<R> From<SdkError<BatchApplyUpdateActionError, R>> for Error
impl<R> From<SdkError<BatchApplyUpdateActionError, R>> for Error
Source§fn from(err: SdkError<BatchApplyUpdateActionError, R>) -> Self
fn from(err: SdkError<BatchApplyUpdateActionError, R>) -> Self
Source§impl<R> From<SdkError<BatchStopUpdateActionError, R>> for Error
impl<R> From<SdkError<BatchStopUpdateActionError, R>> for Error
Source§fn from(err: SdkError<BatchStopUpdateActionError, R>) -> Self
fn from(err: SdkError<BatchStopUpdateActionError, R>) -> Self
Source§impl<R> From<SdkError<CompleteMigrationError, R>> for Error
impl<R> From<SdkError<CompleteMigrationError, R>> for Error
Source§fn from(err: SdkError<CompleteMigrationError, R>) -> Self
fn from(err: SdkError<CompleteMigrationError, R>) -> Self
Source§impl<R> From<SdkError<CopyServerlessCacheSnapshotError, R>> for Error
impl<R> From<SdkError<CopyServerlessCacheSnapshotError, R>> for Error
Source§fn from(err: SdkError<CopyServerlessCacheSnapshotError, R>) -> Self
fn from(err: SdkError<CopyServerlessCacheSnapshotError, R>) -> Self
Source§impl<R> From<SdkError<CopySnapshotError, R>> for Error
impl<R> From<SdkError<CopySnapshotError, R>> for Error
Source§fn from(err: SdkError<CopySnapshotError, R>) -> Self
fn from(err: SdkError<CopySnapshotError, R>) -> Self
Source§impl<R> From<SdkError<CreateCacheClusterError, R>> for Error
impl<R> From<SdkError<CreateCacheClusterError, R>> for Error
Source§fn from(err: SdkError<CreateCacheClusterError, R>) -> Self
fn from(err: SdkError<CreateCacheClusterError, R>) -> Self
Source§impl<R> From<SdkError<CreateCacheParameterGroupError, R>> for Error
impl<R> From<SdkError<CreateCacheParameterGroupError, R>> for Error
Source§fn from(err: SdkError<CreateCacheParameterGroupError, R>) -> Self
fn from(err: SdkError<CreateCacheParameterGroupError, R>) -> Self
Source§impl<R> From<SdkError<CreateCacheSecurityGroupError, R>> for Error
impl<R> From<SdkError<CreateCacheSecurityGroupError, R>> for Error
Source§fn from(err: SdkError<CreateCacheSecurityGroupError, R>) -> Self
fn from(err: SdkError<CreateCacheSecurityGroupError, R>) -> Self
Source§impl<R> From<SdkError<CreateCacheSubnetGroupError, R>> for Error
impl<R> From<SdkError<CreateCacheSubnetGroupError, R>> for Error
Source§fn from(err: SdkError<CreateCacheSubnetGroupError, R>) -> Self
fn from(err: SdkError<CreateCacheSubnetGroupError, R>) -> Self
Source§impl<R> From<SdkError<CreateGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<CreateGlobalReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<CreateGlobalReplicationGroupError, R>) -> Self
fn from(err: SdkError<CreateGlobalReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<CreateReplicationGroupError, R>> for Error
impl<R> From<SdkError<CreateReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<CreateReplicationGroupError, R>) -> Self
fn from(err: SdkError<CreateReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<CreateServerlessCacheError, R>> for Error
impl<R> From<SdkError<CreateServerlessCacheError, R>> for Error
Source§fn from(err: SdkError<CreateServerlessCacheError, R>) -> Self
fn from(err: SdkError<CreateServerlessCacheError, R>) -> Self
Source§impl<R> From<SdkError<CreateServerlessCacheSnapshotError, R>> for Error
impl<R> From<SdkError<CreateServerlessCacheSnapshotError, R>> for Error
Source§fn from(err: SdkError<CreateServerlessCacheSnapshotError, R>) -> Self
fn from(err: SdkError<CreateServerlessCacheSnapshotError, R>) -> Self
Source§impl<R> From<SdkError<CreateSnapshotError, R>> for Error
impl<R> From<SdkError<CreateSnapshotError, R>> for Error
Source§fn from(err: SdkError<CreateSnapshotError, R>) -> Self
fn from(err: SdkError<CreateSnapshotError, R>) -> Self
Source§impl<R> From<SdkError<CreateUserError, R>> for Error
impl<R> From<SdkError<CreateUserError, R>> for Error
Source§fn from(err: SdkError<CreateUserError, R>) -> Self
fn from(err: SdkError<CreateUserError, R>) -> Self
Source§impl<R> From<SdkError<CreateUserGroupError, R>> for Error
impl<R> From<SdkError<CreateUserGroupError, R>> for Error
Source§fn from(err: SdkError<CreateUserGroupError, R>) -> Self
fn from(err: SdkError<CreateUserGroupError, R>) -> Self
Source§impl<R> From<SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError, R>> for Error
Source§fn from(
err: SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError, R>,
) -> Self
fn from( err: SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError, R>, ) -> Self
Source§impl<R> From<SdkError<DecreaseReplicaCountError, R>> for Error
impl<R> From<SdkError<DecreaseReplicaCountError, R>> for Error
Source§fn from(err: SdkError<DecreaseReplicaCountError, R>) -> Self
fn from(err: SdkError<DecreaseReplicaCountError, R>) -> Self
Source§impl<R> From<SdkError<DeleteCacheClusterError, R>> for Error
impl<R> From<SdkError<DeleteCacheClusterError, R>> for Error
Source§fn from(err: SdkError<DeleteCacheClusterError, R>) -> Self
fn from(err: SdkError<DeleteCacheClusterError, R>) -> Self
Source§impl<R> From<SdkError<DeleteCacheParameterGroupError, R>> for Error
impl<R> From<SdkError<DeleteCacheParameterGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteCacheParameterGroupError, R>) -> Self
fn from(err: SdkError<DeleteCacheParameterGroupError, R>) -> Self
Source§impl<R> From<SdkError<DeleteCacheSecurityGroupError, R>> for Error
impl<R> From<SdkError<DeleteCacheSecurityGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteCacheSecurityGroupError, R>) -> Self
fn from(err: SdkError<DeleteCacheSecurityGroupError, R>) -> Self
Source§impl<R> From<SdkError<DeleteCacheSubnetGroupError, R>> for Error
impl<R> From<SdkError<DeleteCacheSubnetGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteCacheSubnetGroupError, R>) -> Self
fn from(err: SdkError<DeleteCacheSubnetGroupError, R>) -> Self
Source§impl<R> From<SdkError<DeleteGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<DeleteGlobalReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteGlobalReplicationGroupError, R>) -> Self
fn from(err: SdkError<DeleteGlobalReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<DeleteReplicationGroupError, R>> for Error
impl<R> From<SdkError<DeleteReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteReplicationGroupError, R>) -> Self
fn from(err: SdkError<DeleteReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<DeleteServerlessCacheError, R>> for Error
impl<R> From<SdkError<DeleteServerlessCacheError, R>> for Error
Source§fn from(err: SdkError<DeleteServerlessCacheError, R>) -> Self
fn from(err: SdkError<DeleteServerlessCacheError, R>) -> Self
Source§impl<R> From<SdkError<DeleteServerlessCacheSnapshotError, R>> for Error
impl<R> From<SdkError<DeleteServerlessCacheSnapshotError, R>> for Error
Source§fn from(err: SdkError<DeleteServerlessCacheSnapshotError, R>) -> Self
fn from(err: SdkError<DeleteServerlessCacheSnapshotError, R>) -> Self
Source§impl<R> From<SdkError<DeleteSnapshotError, R>> for Error
impl<R> From<SdkError<DeleteSnapshotError, R>> for Error
Source§fn from(err: SdkError<DeleteSnapshotError, R>) -> Self
fn from(err: SdkError<DeleteSnapshotError, R>) -> Self
Source§impl<R> From<SdkError<DeleteUserError, R>> for Error
impl<R> From<SdkError<DeleteUserError, R>> for Error
Source§fn from(err: SdkError<DeleteUserError, R>) -> Self
fn from(err: SdkError<DeleteUserError, R>) -> Self
Source§impl<R> From<SdkError<DeleteUserGroupError, R>> for Error
impl<R> From<SdkError<DeleteUserGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteUserGroupError, R>) -> Self
fn from(err: SdkError<DeleteUserGroupError, R>) -> Self
Source§impl<R> From<SdkError<DescribeCacheClustersError, R>> for Error
impl<R> From<SdkError<DescribeCacheClustersError, R>> for Error
Source§fn from(err: SdkError<DescribeCacheClustersError, R>) -> Self
fn from(err: SdkError<DescribeCacheClustersError, R>) -> Self
Source§impl<R> From<SdkError<DescribeCacheEngineVersionsError, R>> for Error
impl<R> From<SdkError<DescribeCacheEngineVersionsError, R>> for Error
Source§fn from(err: SdkError<DescribeCacheEngineVersionsError, R>) -> Self
fn from(err: SdkError<DescribeCacheEngineVersionsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeCacheParameterGroupsError, R>> for Error
impl<R> From<SdkError<DescribeCacheParameterGroupsError, R>> for Error
Source§fn from(err: SdkError<DescribeCacheParameterGroupsError, R>) -> Self
fn from(err: SdkError<DescribeCacheParameterGroupsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeCacheParametersError, R>> for Error
impl<R> From<SdkError<DescribeCacheParametersError, R>> for Error
Source§fn from(err: SdkError<DescribeCacheParametersError, R>) -> Self
fn from(err: SdkError<DescribeCacheParametersError, R>) -> Self
Source§impl<R> From<SdkError<DescribeCacheSecurityGroupsError, R>> for Error
impl<R> From<SdkError<DescribeCacheSecurityGroupsError, R>> for Error
Source§fn from(err: SdkError<DescribeCacheSecurityGroupsError, R>) -> Self
fn from(err: SdkError<DescribeCacheSecurityGroupsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeCacheSubnetGroupsError, R>> for Error
impl<R> From<SdkError<DescribeCacheSubnetGroupsError, R>> for Error
Source§fn from(err: SdkError<DescribeCacheSubnetGroupsError, R>) -> Self
fn from(err: SdkError<DescribeCacheSubnetGroupsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeEngineDefaultParametersError, R>> for Error
impl<R> From<SdkError<DescribeEngineDefaultParametersError, R>> for Error
Source§fn from(err: SdkError<DescribeEngineDefaultParametersError, R>) -> Self
fn from(err: SdkError<DescribeEngineDefaultParametersError, R>) -> Self
Source§impl<R> From<SdkError<DescribeEventsError, R>> for Error
impl<R> From<SdkError<DescribeEventsError, R>> for Error
Source§fn from(err: SdkError<DescribeEventsError, R>) -> Self
fn from(err: SdkError<DescribeEventsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeGlobalReplicationGroupsError, R>> for Error
impl<R> From<SdkError<DescribeGlobalReplicationGroupsError, R>> for Error
Source§fn from(err: SdkError<DescribeGlobalReplicationGroupsError, R>) -> Self
fn from(err: SdkError<DescribeGlobalReplicationGroupsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeReplicationGroupsError, R>> for Error
impl<R> From<SdkError<DescribeReplicationGroupsError, R>> for Error
Source§fn from(err: SdkError<DescribeReplicationGroupsError, R>) -> Self
fn from(err: SdkError<DescribeReplicationGroupsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeReservedCacheNodesError, R>> for Error
impl<R> From<SdkError<DescribeReservedCacheNodesError, R>> for Error
Source§fn from(err: SdkError<DescribeReservedCacheNodesError, R>) -> Self
fn from(err: SdkError<DescribeReservedCacheNodesError, R>) -> Self
Source§impl<R> From<SdkError<DescribeReservedCacheNodesOfferingsError, R>> for Error
impl<R> From<SdkError<DescribeReservedCacheNodesOfferingsError, R>> for Error
Source§fn from(err: SdkError<DescribeReservedCacheNodesOfferingsError, R>) -> Self
fn from(err: SdkError<DescribeReservedCacheNodesOfferingsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeServerlessCacheSnapshotsError, R>> for Error
impl<R> From<SdkError<DescribeServerlessCacheSnapshotsError, R>> for Error
Source§fn from(err: SdkError<DescribeServerlessCacheSnapshotsError, R>) -> Self
fn from(err: SdkError<DescribeServerlessCacheSnapshotsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeServerlessCachesError, R>> for Error
impl<R> From<SdkError<DescribeServerlessCachesError, R>> for Error
Source§fn from(err: SdkError<DescribeServerlessCachesError, R>) -> Self
fn from(err: SdkError<DescribeServerlessCachesError, R>) -> Self
Source§impl<R> From<SdkError<DescribeServiceUpdatesError, R>> for Error
impl<R> From<SdkError<DescribeServiceUpdatesError, R>> for Error
Source§fn from(err: SdkError<DescribeServiceUpdatesError, R>) -> Self
fn from(err: SdkError<DescribeServiceUpdatesError, R>) -> Self
Source§impl<R> From<SdkError<DescribeSnapshotsError, R>> for Error
impl<R> From<SdkError<DescribeSnapshotsError, R>> for Error
Source§fn from(err: SdkError<DescribeSnapshotsError, R>) -> Self
fn from(err: SdkError<DescribeSnapshotsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeUpdateActionsError, R>> for Error
impl<R> From<SdkError<DescribeUpdateActionsError, R>> for Error
Source§fn from(err: SdkError<DescribeUpdateActionsError, R>) -> Self
fn from(err: SdkError<DescribeUpdateActionsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeUserGroupsError, R>> for Error
impl<R> From<SdkError<DescribeUserGroupsError, R>> for Error
Source§fn from(err: SdkError<DescribeUserGroupsError, R>) -> Self
fn from(err: SdkError<DescribeUserGroupsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeUsersError, R>> for Error
impl<R> From<SdkError<DescribeUsersError, R>> for Error
Source§fn from(err: SdkError<DescribeUsersError, R>) -> Self
fn from(err: SdkError<DescribeUsersError, R>) -> Self
Source§impl<R> From<SdkError<DisassociateGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<DisassociateGlobalReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<DisassociateGlobalReplicationGroupError, R>) -> Self
fn from(err: SdkError<DisassociateGlobalReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<ExportServerlessCacheSnapshotError, R>> for Error
impl<R> From<SdkError<ExportServerlessCacheSnapshotError, R>> for Error
Source§fn from(err: SdkError<ExportServerlessCacheSnapshotError, R>) -> Self
fn from(err: SdkError<ExportServerlessCacheSnapshotError, R>) -> Self
Source§impl<R> From<SdkError<FailoverGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<FailoverGlobalReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<FailoverGlobalReplicationGroupError, R>) -> Self
fn from(err: SdkError<FailoverGlobalReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<IncreaseNodeGroupsInGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<IncreaseNodeGroupsInGlobalReplicationGroupError, R>> for Error
Source§fn from(
err: SdkError<IncreaseNodeGroupsInGlobalReplicationGroupError, R>,
) -> Self
fn from( err: SdkError<IncreaseNodeGroupsInGlobalReplicationGroupError, R>, ) -> Self
Source§impl<R> From<SdkError<IncreaseReplicaCountError, R>> for Error
impl<R> From<SdkError<IncreaseReplicaCountError, R>> for Error
Source§fn from(err: SdkError<IncreaseReplicaCountError, R>) -> Self
fn from(err: SdkError<IncreaseReplicaCountError, R>) -> Self
Source§impl<R> From<SdkError<ListAllowedNodeTypeModificationsError, R>> for Error
impl<R> From<SdkError<ListAllowedNodeTypeModificationsError, R>> for Error
Source§fn from(err: SdkError<ListAllowedNodeTypeModificationsError, R>) -> Self
fn from(err: SdkError<ListAllowedNodeTypeModificationsError, R>) -> Self
Source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
Source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Source§impl<R> From<SdkError<ModifyCacheClusterError, R>> for Error
impl<R> From<SdkError<ModifyCacheClusterError, R>> for Error
Source§fn from(err: SdkError<ModifyCacheClusterError, R>) -> Self
fn from(err: SdkError<ModifyCacheClusterError, R>) -> Self
Source§impl<R> From<SdkError<ModifyCacheParameterGroupError, R>> for Error
impl<R> From<SdkError<ModifyCacheParameterGroupError, R>> for Error
Source§fn from(err: SdkError<ModifyCacheParameterGroupError, R>) -> Self
fn from(err: SdkError<ModifyCacheParameterGroupError, R>) -> Self
Source§impl<R> From<SdkError<ModifyCacheSubnetGroupError, R>> for Error
impl<R> From<SdkError<ModifyCacheSubnetGroupError, R>> for Error
Source§fn from(err: SdkError<ModifyCacheSubnetGroupError, R>) -> Self
fn from(err: SdkError<ModifyCacheSubnetGroupError, R>) -> Self
Source§impl<R> From<SdkError<ModifyGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<ModifyGlobalReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<ModifyGlobalReplicationGroupError, R>) -> Self
fn from(err: SdkError<ModifyGlobalReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<ModifyReplicationGroupError, R>> for Error
impl<R> From<SdkError<ModifyReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<ModifyReplicationGroupError, R>) -> Self
fn from(err: SdkError<ModifyReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<ModifyReplicationGroupShardConfigurationError, R>> for Error
impl<R> From<SdkError<ModifyReplicationGroupShardConfigurationError, R>> for Error
Source§fn from(err: SdkError<ModifyReplicationGroupShardConfigurationError, R>) -> Self
fn from(err: SdkError<ModifyReplicationGroupShardConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<ModifyServerlessCacheError, R>> for Error
impl<R> From<SdkError<ModifyServerlessCacheError, R>> for Error
Source§fn from(err: SdkError<ModifyServerlessCacheError, R>) -> Self
fn from(err: SdkError<ModifyServerlessCacheError, R>) -> Self
Source§impl<R> From<SdkError<ModifyUserError, R>> for Error
impl<R> From<SdkError<ModifyUserError, R>> for Error
Source§fn from(err: SdkError<ModifyUserError, R>) -> Self
fn from(err: SdkError<ModifyUserError, R>) -> Self
Source§impl<R> From<SdkError<ModifyUserGroupError, R>> for Error
impl<R> From<SdkError<ModifyUserGroupError, R>> for Error
Source§fn from(err: SdkError<ModifyUserGroupError, R>) -> Self
fn from(err: SdkError<ModifyUserGroupError, R>) -> Self
Source§impl<R> From<SdkError<PurchaseReservedCacheNodesOfferingError, R>> for Error
impl<R> From<SdkError<PurchaseReservedCacheNodesOfferingError, R>> for Error
Source§fn from(err: SdkError<PurchaseReservedCacheNodesOfferingError, R>) -> Self
fn from(err: SdkError<PurchaseReservedCacheNodesOfferingError, R>) -> Self
Source§impl<R> From<SdkError<RebalanceSlotsInGlobalReplicationGroupError, R>> for Error
impl<R> From<SdkError<RebalanceSlotsInGlobalReplicationGroupError, R>> for Error
Source§fn from(err: SdkError<RebalanceSlotsInGlobalReplicationGroupError, R>) -> Self
fn from(err: SdkError<RebalanceSlotsInGlobalReplicationGroupError, R>) -> Self
Source§impl<R> From<SdkError<RebootCacheClusterError, R>> for Error
impl<R> From<SdkError<RebootCacheClusterError, R>> for Error
Source§fn from(err: SdkError<RebootCacheClusterError, R>) -> Self
fn from(err: SdkError<RebootCacheClusterError, R>) -> Self
Source§impl<R> From<SdkError<RemoveTagsFromResourceError, R>> for Error
impl<R> From<SdkError<RemoveTagsFromResourceError, R>> for Error
Source§fn from(err: SdkError<RemoveTagsFromResourceError, R>) -> Self
fn from(err: SdkError<RemoveTagsFromResourceError, R>) -> Self
Source§impl<R> From<SdkError<ResetCacheParameterGroupError, R>> for Error
impl<R> From<SdkError<ResetCacheParameterGroupError, R>> for Error
Source§fn from(err: SdkError<ResetCacheParameterGroupError, R>) -> Self
fn from(err: SdkError<ResetCacheParameterGroupError, R>) -> Self
Source§impl<R> From<SdkError<RevokeCacheSecurityGroupIngressError, R>> for Error
impl<R> From<SdkError<RevokeCacheSecurityGroupIngressError, R>> for Error
Source§fn from(err: SdkError<RevokeCacheSecurityGroupIngressError, R>) -> Self
fn from(err: SdkError<RevokeCacheSecurityGroupIngressError, R>) -> Self
Source§impl<R> From<SdkError<StartMigrationError, R>> for Error
impl<R> From<SdkError<StartMigrationError, R>> for Error
Source§fn from(err: SdkError<StartMigrationError, R>) -> Self
fn from(err: SdkError<StartMigrationError, R>) -> Self
Source§impl<R> From<SdkError<TestFailoverError, R>> for Error
impl<R> From<SdkError<TestFailoverError, R>> for Error
Source§fn from(err: SdkError<TestFailoverError, R>) -> Self
fn from(err: SdkError<TestFailoverError, R>) -> Self
Source§impl<R> From<SdkError<TestMigrationError, R>> for Error
impl<R> From<SdkError<TestMigrationError, R>> for Error
Source§fn from(err: SdkError<TestMigrationError, R>) -> Self
fn from(err: SdkError<TestMigrationError, R>) -> Self
Source§impl From<StartMigrationError> for Error
impl From<StartMigrationError> for Error
Source§fn from(err: StartMigrationError) -> Self
fn from(err: StartMigrationError) -> Self
Source§impl From<TestFailoverError> for Error
impl From<TestFailoverError> for Error
Source§fn from(err: TestFailoverError) -> Self
fn from(err: TestFailoverError) -> Self
Source§impl From<TestMigrationError> for Error
impl From<TestMigrationError> for Error
Source§fn from(err: TestMigrationError) -> Self
fn from(err: TestMigrationError) -> Self
Source§impl<O, E> From<WaiterError<O, E>> for Error
impl<O, E> From<WaiterError<O, E>> for Error
Source§fn from(err: WaiterError<O, E>) -> Self
fn from(err: WaiterError<O, E>) -> Self
Source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
Source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);