Enum Error

Source
#[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
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.
§

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)

👎Deprecated: Matching 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 Debug for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for Error

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<AddTagsToResourceError> for Error

Source§

fn from(err: AddTagsToResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<AuthorizeCacheSecurityGroupIngressError> for Error

Source§

fn from(err: AuthorizeCacheSecurityGroupIngressError) -> Self

Converts to this type from the input type.
Source§

impl From<BatchApplyUpdateActionError> for Error

Source§

fn from(err: BatchApplyUpdateActionError) -> Self

Converts to this type from the input type.
Source§

impl From<BatchStopUpdateActionError> for Error

Source§

fn from(err: BatchStopUpdateActionError) -> Self

Converts to this type from the input type.
Source§

impl From<BuildError> for Error

Source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
Source§

impl From<CompleteMigrationError> for Error

Source§

fn from(err: CompleteMigrationError) -> Self

Converts to this type from the input type.
Source§

impl From<CopyServerlessCacheSnapshotError> for Error

Source§

fn from(err: CopyServerlessCacheSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<CopySnapshotError> for Error

Source§

fn from(err: CopySnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateCacheClusterError> for Error

Source§

fn from(err: CreateCacheClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateCacheParameterGroupError> for Error

Source§

fn from(err: CreateCacheParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateCacheSecurityGroupError> for Error

Source§

fn from(err: CreateCacheSecurityGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateCacheSubnetGroupError> for Error

Source§

fn from(err: CreateCacheSubnetGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateGlobalReplicationGroupError> for Error

Source§

fn from(err: CreateGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateReplicationGroupError> for Error

Source§

fn from(err: CreateReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateServerlessCacheError> for Error

Source§

fn from(err: CreateServerlessCacheError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateServerlessCacheSnapshotError> for Error

Source§

fn from(err: CreateServerlessCacheSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateSnapshotError> for Error

Source§

fn from(err: CreateSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUserError> for Error

Source§

fn from(err: CreateUserError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUserGroupError> for Error

Source§

fn from(err: CreateUserGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DecreaseNodeGroupsInGlobalReplicationGroupError> for Error

Source§

fn from(err: DecreaseNodeGroupsInGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DecreaseReplicaCountError> for Error

Source§

fn from(err: DecreaseReplicaCountError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteCacheClusterError> for Error

Source§

fn from(err: DeleteCacheClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteCacheParameterGroupError> for Error

Source§

fn from(err: DeleteCacheParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteCacheSecurityGroupError> for Error

Source§

fn from(err: DeleteCacheSecurityGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteCacheSubnetGroupError> for Error

Source§

fn from(err: DeleteCacheSubnetGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteGlobalReplicationGroupError> for Error

Source§

fn from(err: DeleteGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteReplicationGroupError> for Error

Source§

fn from(err: DeleteReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteServerlessCacheError> for Error

Source§

fn from(err: DeleteServerlessCacheError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteServerlessCacheSnapshotError> for Error

Source§

fn from(err: DeleteServerlessCacheSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteSnapshotError> for Error

Source§

fn from(err: DeleteSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteUserError> for Error

Source§

fn from(err: DeleteUserError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteUserGroupError> for Error

Source§

fn from(err: DeleteUserGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeCacheClustersError> for Error

Source§

fn from(err: DescribeCacheClustersError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeCacheEngineVersionsError> for Error

Source§

fn from(err: DescribeCacheEngineVersionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeCacheParameterGroupsError> for Error

Source§

fn from(err: DescribeCacheParameterGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeCacheParametersError> for Error

Source§

fn from(err: DescribeCacheParametersError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeCacheSecurityGroupsError> for Error

Source§

fn from(err: DescribeCacheSecurityGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeCacheSubnetGroupsError> for Error

Source§

fn from(err: DescribeCacheSubnetGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEngineDefaultParametersError> for Error

Source§

fn from(err: DescribeEngineDefaultParametersError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEventsError> for Error

Source§

fn from(err: DescribeEventsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGlobalReplicationGroupsError> for Error

Source§

fn from(err: DescribeGlobalReplicationGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeReplicationGroupsError> for Error

Source§

fn from(err: DescribeReplicationGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeReservedCacheNodesError> for Error

Source§

fn from(err: DescribeReservedCacheNodesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeReservedCacheNodesOfferingsError> for Error

Source§

fn from(err: DescribeReservedCacheNodesOfferingsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeServerlessCacheSnapshotsError> for Error

Source§

fn from(err: DescribeServerlessCacheSnapshotsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeServerlessCachesError> for Error

Source§

fn from(err: DescribeServerlessCachesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeServiceUpdatesError> for Error

Source§

fn from(err: DescribeServiceUpdatesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeSnapshotsError> for Error

Source§

fn from(err: DescribeSnapshotsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUpdateActionsError> for Error

Source§

fn from(err: DescribeUpdateActionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUserGroupsError> for Error

Source§

fn from(err: DescribeUserGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUsersError> for Error

Source§

fn from(err: DescribeUsersError) -> Self

Converts to this type from the input type.
Source§

impl From<DisassociateGlobalReplicationGroupError> for Error

Source§

fn from(err: DisassociateGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ExportServerlessCacheSnapshotError> for Error

Source§

fn from(err: ExportServerlessCacheSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<FailoverGlobalReplicationGroupError> for Error

Source§

fn from(err: FailoverGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<IncreaseNodeGroupsInGlobalReplicationGroupError> for Error

Source§

fn from(err: IncreaseNodeGroupsInGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<IncreaseReplicaCountError> for Error

Source§

fn from(err: IncreaseReplicaCountError) -> Self

Converts to this type from the input type.
Source§

impl From<ListAllowedNodeTypeModificationsError> for Error

Source§

fn from(err: ListAllowedNodeTypeModificationsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListTagsForResourceError> for Error

Source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyCacheClusterError> for Error

Source§

fn from(err: ModifyCacheClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyCacheParameterGroupError> for Error

Source§

fn from(err: ModifyCacheParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyCacheSubnetGroupError> for Error

Source§

fn from(err: ModifyCacheSubnetGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyGlobalReplicationGroupError> for Error

Source§

fn from(err: ModifyGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyReplicationGroupError> for Error

Source§

fn from(err: ModifyReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyReplicationGroupShardConfigurationError> for Error

Source§

fn from(err: ModifyReplicationGroupShardConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyServerlessCacheError> for Error

Source§

fn from(err: ModifyServerlessCacheError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyUserError> for Error

Source§

fn from(err: ModifyUserError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyUserGroupError> for Error

Source§

fn from(err: ModifyUserGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<PurchaseReservedCacheNodesOfferingError> for Error

Source§

fn from(err: PurchaseReservedCacheNodesOfferingError) -> Self

Converts to this type from the input type.
Source§

impl From<RebalanceSlotsInGlobalReplicationGroupError> for Error

Source§

fn from(err: RebalanceSlotsInGlobalReplicationGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<RebootCacheClusterError> for Error

Source§

fn from(err: RebootCacheClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<RemoveTagsFromResourceError> for Error

Source§

fn from(err: RemoveTagsFromResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<ResetCacheParameterGroupError> for Error

Source§

fn from(err: ResetCacheParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<RevokeCacheSecurityGroupIngressError> for Error

Source§

fn from(err: RevokeCacheSecurityGroupIngressError) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AddTagsToResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AddTagsToResourceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AuthorizeCacheSecurityGroupIngressError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AuthorizeCacheSecurityGroupIngressError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<BatchApplyUpdateActionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<BatchApplyUpdateActionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<BatchStopUpdateActionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<BatchStopUpdateActionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CompleteMigrationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CompleteMigrationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CopyServerlessCacheSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CopyServerlessCacheSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CopySnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CopySnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateCacheClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateCacheClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateCacheParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateCacheParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateCacheSecurityGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateCacheSecurityGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateCacheSubnetGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateCacheSubnetGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateGlobalReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateServerlessCacheError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateServerlessCacheError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateServerlessCacheSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateServerlessCacheSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateUserError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateUserGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateUserGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from( err: SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError, R>, ) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DecreaseReplicaCountError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DecreaseReplicaCountError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteCacheClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteCacheClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteCacheParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteCacheParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteCacheSecurityGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteCacheSecurityGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteCacheSubnetGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteCacheSubnetGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteGlobalReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteServerlessCacheError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteServerlessCacheError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteServerlessCacheSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteServerlessCacheSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteUserError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteUserGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteUserGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeCacheClustersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeCacheClustersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeCacheEngineVersionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeCacheEngineVersionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeCacheParameterGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeCacheParameterGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeCacheParametersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeCacheParametersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeCacheSecurityGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeCacheSecurityGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeCacheSubnetGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeCacheSubnetGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEngineDefaultParametersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEngineDefaultParametersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEventsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEventsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGlobalReplicationGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGlobalReplicationGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeReplicationGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeReplicationGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeReservedCacheNodesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeReservedCacheNodesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeReservedCacheNodesOfferingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeReservedCacheNodesOfferingsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeServerlessCacheSnapshotsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeServerlessCacheSnapshotsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeServerlessCachesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeServerlessCachesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeServiceUpdatesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeServiceUpdatesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeSnapshotsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeSnapshotsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeUpdateActionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeUpdateActionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeUserGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeUserGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeUsersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeUsersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DisassociateGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DisassociateGlobalReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ExportServerlessCacheSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ExportServerlessCacheSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<FailoverGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<FailoverGlobalReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<IncreaseNodeGroupsInGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from( err: SdkError<IncreaseNodeGroupsInGlobalReplicationGroupError, R>, ) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<IncreaseReplicaCountError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<IncreaseReplicaCountError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListAllowedNodeTypeModificationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListAllowedNodeTypeModificationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListTagsForResourceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyCacheClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyCacheClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyCacheParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyCacheParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyCacheSubnetGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyCacheSubnetGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyGlobalReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyReplicationGroupShardConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyReplicationGroupShardConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyServerlessCacheError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyServerlessCacheError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyUserError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyUserGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyUserGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<PurchaseReservedCacheNodesOfferingError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<PurchaseReservedCacheNodesOfferingError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RebalanceSlotsInGlobalReplicationGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RebalanceSlotsInGlobalReplicationGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RebootCacheClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RebootCacheClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RemoveTagsFromResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RemoveTagsFromResourceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ResetCacheParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ResetCacheParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RevokeCacheSecurityGroupIngressError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RevokeCacheSecurityGroupIngressError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StartMigrationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StartMigrationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<TestFailoverError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<TestFailoverError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<TestMigrationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<TestMigrationError, R>) -> Self

Converts to this type from the input type.
Source§

impl From<StartMigrationError> for Error

Source§

fn from(err: StartMigrationError) -> Self

Converts to this type from the input type.
Source§

impl From<TestFailoverError> for Error

Source§

fn from(err: TestFailoverError) -> Self

Converts to this type from the input type.
Source§

impl From<TestMigrationError> for Error

Source§

fn from(err: TestMigrationError) -> Self

Converts to this type from the input type.
Source§

impl<O, E> From<WaiterError<O, E>> for Error
where O: Debug + Send + Sync + 'static, E: Error + Send + Sync + 'static,

Source§

fn from(err: WaiterError<O, E>) -> Self

Converts to this type from the input type.
Source§

impl ProvideErrorMetadata for Error

Source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Source§

fn code(&self) -> Option<&str>

Returns the error code if it’s available.
Source§

fn message(&self) -> Option<&str>

Returns the error message, if there is one.
Source§

impl RequestId for Error

Source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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 more
Source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<T> Paint for T
where T: ?Sized,

Source§

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 primary(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Primary].

§Example
println!("{}", value.primary());
Source§

fn fixed(&self, color: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Fixed].

§Example
println!("{}", value.fixed(color));
Source§

fn rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Rgb].

§Example
println!("{}", value.rgb(r, g, b));
Source§

fn black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Black].

§Example
println!("{}", value.black());
Source§

fn red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Red].

§Example
println!("{}", value.red());
Source§

fn green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Green].

§Example
println!("{}", value.green());
Source§

fn yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Yellow].

§Example
println!("{}", value.yellow());
Source§

fn blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Blue].

§Example
println!("{}", value.blue());
Source§

fn magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Magenta].

§Example
println!("{}", value.magenta());
Source§

fn cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Cyan].

§Example
println!("{}", value.cyan());
Source§

fn white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: White].

§Example
println!("{}", value.white());
Source§

fn bright_black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlack].

§Example
println!("{}", value.bright_black());
Source§

fn bright_red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightRed].

§Example
println!("{}", value.bright_red());
Source§

fn bright_green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightGreen].

§Example
println!("{}", value.bright_green());
Source§

fn bright_yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightYellow].

§Example
println!("{}", value.bright_yellow());
Source§

fn bright_blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlue].

§Example
println!("{}", value.bright_blue());
Source§

fn bright_magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.bright_magenta());
Source§

fn bright_cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightCyan].

§Example
println!("{}", value.bright_cyan());
Source§

fn bright_white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightWhite].

§Example
println!("{}", value.bright_white());
Source§

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>

Returns self with the bg() set to [Color :: Primary].

§Example
println!("{}", value.on_primary());
Source§

fn on_fixed(&self, color: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Fixed].

§Example
println!("{}", value.on_fixed(color));
Source§

fn on_rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Rgb].

§Example
println!("{}", value.on_rgb(r, g, b));
Source§

fn on_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Black].

§Example
println!("{}", value.on_black());
Source§

fn on_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Red].

§Example
println!("{}", value.on_red());
Source§

fn on_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Green].

§Example
println!("{}", value.on_green());
Source§

fn on_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Yellow].

§Example
println!("{}", value.on_yellow());
Source§

fn on_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Blue].

§Example
println!("{}", value.on_blue());
Source§

fn on_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Magenta].

§Example
println!("{}", value.on_magenta());
Source§

fn on_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Cyan].

§Example
println!("{}", value.on_cyan());
Source§

fn on_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: White].

§Example
println!("{}", value.on_white());
Source§

fn on_bright_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlack].

§Example
println!("{}", value.on_bright_black());
Source§

fn on_bright_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightRed].

§Example
println!("{}", value.on_bright_red());
Source§

fn on_bright_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightGreen].

§Example
println!("{}", value.on_bright_green());
Source§

fn on_bright_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightYellow].

§Example
println!("{}", value.on_bright_yellow());
Source§

fn on_bright_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlue].

§Example
println!("{}", value.on_bright_blue());
Source§

fn on_bright_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.on_bright_magenta());
Source§

fn on_bright_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightCyan].

§Example
println!("{}", value.on_bright_cyan());
Source§

fn on_bright_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightWhite].

§Example
println!("{}", value.on_bright_white());
Source§

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 bold(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Bold].

§Example
println!("{}", value.bold());
Source§

fn dim(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Dim].

§Example
println!("{}", value.dim());
Source§

fn italic(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Italic].

§Example
println!("{}", value.italic());
Source§

fn underline(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Underline].

§Example
println!("{}", value.underline());

Returns self with the attr() set to [Attribute :: Blink].

§Example
println!("{}", value.blink());

Returns self with the attr() set to [Attribute :: RapidBlink].

§Example
println!("{}", value.rapid_blink());
Source§

fn invert(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Invert].

§Example
println!("{}", value.invert());
Source§

fn conceal(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Conceal].

§Example
println!("{}", value.conceal());
Source§

fn strike(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Strike].

§Example
println!("{}", value.strike());
Source§

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 mask(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Mask].

§Example
println!("{}", value.mask());
Source§

fn wrap(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Wrap].

§Example
println!("{}", value.wrap());
Source§

fn linger(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Linger].

§Example
println!("{}", value.linger());
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.

Returns self with the quirk() set to [Quirk :: Clear].

§Example
println!("{}", value.clear());
Source§

fn resetting(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Resetting].

§Example
println!("{}", value.resetting());
Source§

fn bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Bright].

§Example
println!("{}", value.bright());
Source§

fn on_bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: OnBright].

§Example
println!("{}", value.on_bright());
Source§

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);
Source§

fn new(self) -> Painted<Self>
where Self: Sized,

Create a new Painted with a default Style. Read more
Source§

fn paint<S>(&self, style: S) -> Painted<&Self>
where S: Into<Style>,

Apply a style wholesale to self. Any previous style is replaced. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,