#[non_exhaustive]pub enum Error {
Show 21 variants
WafBadRequestException(WafBadRequestException),
WafDisallowedNameException(WafDisallowedNameException),
WafEntityMigrationException(WafEntityMigrationException),
WafInternalErrorException(WafInternalErrorException),
WafInvalidAccountException(WafInvalidAccountException),
WafInvalidOperationException(WafInvalidOperationException),
WafInvalidParameterException(WafInvalidParameterException),
WafInvalidPermissionPolicyException(WafInvalidPermissionPolicyException),
WafInvalidRegexPatternException(WafInvalidRegexPatternException),
WafLimitsExceededException(WafLimitsExceededException),
WafNonEmptyEntityException(WafNonEmptyEntityException),
WafNonexistentContainerException(WafNonexistentContainerException),
WafNonexistentItemException(WafNonexistentItemException),
WafReferencedItemException(WafReferencedItemException),
WafServiceLinkedRoleErrorException(WafServiceLinkedRoleErrorException),
WafStaleDataException(WafStaleDataException),
WafSubscriptionNotFoundException(WafSubscriptionNotFoundException),
WafTagOperationException(WafTagOperationException),
WafTagOperationInternalErrorException(WafTagOperationInternalErrorException),
WafUnavailableEntityException(WafUnavailableEntityException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
WafBadRequestException(WafBadRequestException)
WafDisallowedNameException(WafDisallowedNameException)
The name specified is invalid.
WafEntityMigrationException(WafEntityMigrationException)
The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the MigrationErrorType
:
-
ENTITY_NOT_SUPPORTED
- The web ACL has an unsupported entity but theIgnoreUnsupportedType
is not set to true. -
ENTITY_NOT_FOUND
- The web ACL doesn't exist. -
S3_BUCKET_NO_PERMISSION
- You don't have permission to perform thePutObject
action to the specified Amazon S3 bucket. -
S3_BUCKET_NOT_ACCESSIBLE
- The bucket policy doesn't allow AWS WAF to perform thePutObject
action in the bucket. -
S3_BUCKET_NOT_FOUND
- The S3 bucket doesn't exist. -
S3_BUCKET_INVALID_REGION
- The S3 bucket is not in the same Region as the web ACL. -
S3_INTERNAL_ERROR
- AWS WAF failed to create the template in the S3 bucket for another reason.
WafInternalErrorException(WafInternalErrorException)
The operation failed because of a system problem, even though the request was valid. Retry your request.
WafInvalidAccountException(WafInvalidAccountException)
The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.
WafInvalidOperationException(WafInvalidOperationException)
The operation failed because there was nothing to do. For example:
-
You tried to remove a
Rule
from aWebACL
, but theRule
isn't in the specifiedWebACL
. -
You tried to remove an IP address from an
IPSet
, but the IP address isn't in the specifiedIPSet
. -
You tried to remove a
ByteMatchTuple
from aByteMatchSet
, but theByteMatchTuple
isn't in the specifiedWebACL
. -
You tried to add a
Rule
to aWebACL
, but theRule
already exists in the specifiedWebACL
. -
You tried to add a
ByteMatchTuple
to aByteMatchSet
, but theByteMatchTuple
already exists in the specifiedWebACL
.
WafInvalidParameterException(WafInvalidParameterException)
The operation failed because AWS WAF didn't recognize a parameter in the request. For example:
-
You specified an invalid parameter name.
-
You specified an invalid value.
-
You tried to update an object (
ByteMatchSet
,IPSet
,Rule
, orWebACL
) using an action other thanINSERT
orDELETE
. -
You tried to create a
WebACL
with aDefaultAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. -
You tried to create a
RateBasedRule
with aRateKey
value other thanIP
. -
You tried to update a
WebACL
with aWafAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. -
You tried to update a
ByteMatchSet
with aFieldToMatch
Type
other than HEADER, METHOD, QUERY_STRING, URI, or BODY. -
You tried to update a
ByteMatchSet
with aField
ofHEADER
but no value forData
. -
Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.
WafInvalidPermissionPolicyException(WafInvalidPermissionPolicyException)
The operation failed because the specified policy is not in the proper format.
The policy is subject to the following restrictions:
-
You can attach only one policy with each
PutPermissionPolicy
request. -
The policy must include an
Effect
,Action
andPrincipal
. -
Effect
must specifyAllow
. -
The
Action
in the policy must bewaf:UpdateWebACL
,waf-regional:UpdateWebACL
,waf:GetRuleGroup
andwaf-regional:GetRuleGroup
. Any extra or wildcard actions in the policy will be rejected. -
The policy cannot include a
Resource
parameter. -
The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.
-
The user making the request must be the owner of the RuleGroup.
-
Your policy must be composed using IAM Policy version 2012-10-17.
WafInvalidRegexPatternException(WafInvalidRegexPatternException)
The regular expression (regex) you specified in RegexPatternString
is invalid.
WafLimitsExceededException(WafLimitsExceededException)
The operation exceeds a resource limit, for example, the maximum number of WebACL
objects that you can create for an AWS account. For more information, see Limits in the AWS WAF Developer Guide.
WafNonEmptyEntityException(WafNonEmptyEntityException)
The operation failed because you tried to delete an object that isn't empty. For example:
-
You tried to delete a
WebACL
that still contains one or moreRule
objects. -
You tried to delete a
Rule
that still contains one or moreByteMatchSet
objects or other predicates. -
You tried to delete a
ByteMatchSet
that contains one or moreByteMatchTuple
objects. -
You tried to delete an
IPSet
that references one or more IP addresses.
WafNonexistentContainerException(WafNonexistentContainerException)
The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:
-
You tried to add a
Rule
to or delete aRule
from aWebACL
that doesn't exist. -
You tried to add a
ByteMatchSet
to or delete aByteMatchSet
from aRule
that doesn't exist. -
You tried to add an IP address to or delete an IP address from an
IPSet
that doesn't exist. -
You tried to add a
ByteMatchTuple
to or delete aByteMatchTuple
from aByteMatchSet
that doesn't exist.
WafNonexistentItemException(WafNonexistentItemException)
The operation failed because the referenced object doesn't exist.
WafReferencedItemException(WafReferencedItemException)
The operation failed because you tried to delete an object that is still in use. For example:
-
You tried to delete a
ByteMatchSet
that is still referenced by aRule
. -
You tried to delete a
Rule
that is still referenced by aWebACL
.
WafServiceLinkedRoleErrorException(WafServiceLinkedRoleErrorException)
AWS WAF is not able to access the service linked role. This can be caused by a previous PutLoggingConfiguration
request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous DeleteServiceLinkedRole
request, which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole
, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.
WafStaleDataException(WafStaleDataException)
The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.
WafSubscriptionNotFoundException(WafSubscriptionNotFoundException)
The specified subscription does not exist.
WafTagOperationException(WafTagOperationException)
WafTagOperationInternalErrorException(WafTagOperationInternalErrorException)
The operation failed because the entity referenced is temporarily unavailable. Retry your request.
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<AssociateWebACLError> for Error
impl From<AssociateWebACLError> for Error
Source§fn from(err: AssociateWebACLError) -> Self
fn from(err: AssociateWebACLError) -> 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<CreateByteMatchSetError> for Error
impl From<CreateByteMatchSetError> for Error
Source§fn from(err: CreateByteMatchSetError) -> Self
fn from(err: CreateByteMatchSetError) -> Self
Source§impl From<CreateGeoMatchSetError> for Error
impl From<CreateGeoMatchSetError> for Error
Source§fn from(err: CreateGeoMatchSetError) -> Self
fn from(err: CreateGeoMatchSetError) -> Self
Source§impl From<CreateIPSetError> for Error
impl From<CreateIPSetError> for Error
Source§fn from(err: CreateIPSetError) -> Self
fn from(err: CreateIPSetError) -> Self
Source§impl From<CreateRateBasedRuleError> for Error
impl From<CreateRateBasedRuleError> for Error
Source§fn from(err: CreateRateBasedRuleError) -> Self
fn from(err: CreateRateBasedRuleError) -> Self
Source§impl From<CreateRegexMatchSetError> for Error
impl From<CreateRegexMatchSetError> for Error
Source§fn from(err: CreateRegexMatchSetError) -> Self
fn from(err: CreateRegexMatchSetError) -> Self
Source§impl From<CreateRegexPatternSetError> for Error
impl From<CreateRegexPatternSetError> for Error
Source§fn from(err: CreateRegexPatternSetError) -> Self
fn from(err: CreateRegexPatternSetError) -> Self
Source§impl From<CreateRuleError> for Error
impl From<CreateRuleError> for Error
Source§fn from(err: CreateRuleError) -> Self
fn from(err: CreateRuleError) -> Self
Source§impl From<CreateRuleGroupError> for Error
impl From<CreateRuleGroupError> for Error
Source§fn from(err: CreateRuleGroupError) -> Self
fn from(err: CreateRuleGroupError) -> Self
Source§impl From<CreateSizeConstraintSetError> for Error
impl From<CreateSizeConstraintSetError> for Error
Source§fn from(err: CreateSizeConstraintSetError) -> Self
fn from(err: CreateSizeConstraintSetError) -> Self
Source§impl From<CreateSqlInjectionMatchSetError> for Error
impl From<CreateSqlInjectionMatchSetError> for Error
Source§fn from(err: CreateSqlInjectionMatchSetError) -> Self
fn from(err: CreateSqlInjectionMatchSetError) -> Self
Source§impl From<CreateWebACLError> for Error
impl From<CreateWebACLError> for Error
Source§fn from(err: CreateWebACLError) -> Self
fn from(err: CreateWebACLError) -> Self
Source§impl From<CreateWebACLMigrationStackError> for Error
impl From<CreateWebACLMigrationStackError> for Error
Source§fn from(err: CreateWebACLMigrationStackError) -> Self
fn from(err: CreateWebACLMigrationStackError) -> Self
Source§impl From<CreateXssMatchSetError> for Error
impl From<CreateXssMatchSetError> for Error
Source§fn from(err: CreateXssMatchSetError) -> Self
fn from(err: CreateXssMatchSetError) -> Self
Source§impl From<DeleteByteMatchSetError> for Error
impl From<DeleteByteMatchSetError> for Error
Source§fn from(err: DeleteByteMatchSetError) -> Self
fn from(err: DeleteByteMatchSetError) -> Self
Source§impl From<DeleteGeoMatchSetError> for Error
impl From<DeleteGeoMatchSetError> for Error
Source§fn from(err: DeleteGeoMatchSetError) -> Self
fn from(err: DeleteGeoMatchSetError) -> Self
Source§impl From<DeleteIPSetError> for Error
impl From<DeleteIPSetError> for Error
Source§fn from(err: DeleteIPSetError) -> Self
fn from(err: DeleteIPSetError) -> Self
Source§impl From<DeleteLoggingConfigurationError> for Error
impl From<DeleteLoggingConfigurationError> for Error
Source§fn from(err: DeleteLoggingConfigurationError) -> Self
fn from(err: DeleteLoggingConfigurationError) -> Self
Source§impl From<DeletePermissionPolicyError> for Error
impl From<DeletePermissionPolicyError> for Error
Source§fn from(err: DeletePermissionPolicyError) -> Self
fn from(err: DeletePermissionPolicyError) -> Self
Source§impl From<DeleteRateBasedRuleError> for Error
impl From<DeleteRateBasedRuleError> for Error
Source§fn from(err: DeleteRateBasedRuleError) -> Self
fn from(err: DeleteRateBasedRuleError) -> Self
Source§impl From<DeleteRegexMatchSetError> for Error
impl From<DeleteRegexMatchSetError> for Error
Source§fn from(err: DeleteRegexMatchSetError) -> Self
fn from(err: DeleteRegexMatchSetError) -> Self
Source§impl From<DeleteRegexPatternSetError> for Error
impl From<DeleteRegexPatternSetError> for Error
Source§fn from(err: DeleteRegexPatternSetError) -> Self
fn from(err: DeleteRegexPatternSetError) -> Self
Source§impl From<DeleteRuleError> for Error
impl From<DeleteRuleError> for Error
Source§fn from(err: DeleteRuleError) -> Self
fn from(err: DeleteRuleError) -> Self
Source§impl From<DeleteRuleGroupError> for Error
impl From<DeleteRuleGroupError> for Error
Source§fn from(err: DeleteRuleGroupError) -> Self
fn from(err: DeleteRuleGroupError) -> Self
Source§impl From<DeleteSizeConstraintSetError> for Error
impl From<DeleteSizeConstraintSetError> for Error
Source§fn from(err: DeleteSizeConstraintSetError) -> Self
fn from(err: DeleteSizeConstraintSetError) -> Self
Source§impl From<DeleteSqlInjectionMatchSetError> for Error
impl From<DeleteSqlInjectionMatchSetError> for Error
Source§fn from(err: DeleteSqlInjectionMatchSetError) -> Self
fn from(err: DeleteSqlInjectionMatchSetError) -> Self
Source§impl From<DeleteWebACLError> for Error
impl From<DeleteWebACLError> for Error
Source§fn from(err: DeleteWebACLError) -> Self
fn from(err: DeleteWebACLError) -> Self
Source§impl From<DeleteXssMatchSetError> for Error
impl From<DeleteXssMatchSetError> for Error
Source§fn from(err: DeleteXssMatchSetError) -> Self
fn from(err: DeleteXssMatchSetError) -> Self
Source§impl From<DisassociateWebACLError> for Error
impl From<DisassociateWebACLError> for Error
Source§fn from(err: DisassociateWebACLError) -> Self
fn from(err: DisassociateWebACLError) -> Self
Source§impl From<GetByteMatchSetError> for Error
impl From<GetByteMatchSetError> for Error
Source§fn from(err: GetByteMatchSetError) -> Self
fn from(err: GetByteMatchSetError) -> Self
Source§impl From<GetChangeTokenError> for Error
impl From<GetChangeTokenError> for Error
Source§fn from(err: GetChangeTokenError) -> Self
fn from(err: GetChangeTokenError) -> Self
Source§impl From<GetChangeTokenStatusError> for Error
impl From<GetChangeTokenStatusError> for Error
Source§fn from(err: GetChangeTokenStatusError) -> Self
fn from(err: GetChangeTokenStatusError) -> Self
Source§impl From<GetGeoMatchSetError> for Error
impl From<GetGeoMatchSetError> for Error
Source§fn from(err: GetGeoMatchSetError) -> Self
fn from(err: GetGeoMatchSetError) -> Self
Source§impl From<GetIPSetError> for Error
impl From<GetIPSetError> for Error
Source§fn from(err: GetIPSetError) -> Self
fn from(err: GetIPSetError) -> Self
Source§impl From<GetLoggingConfigurationError> for Error
impl From<GetLoggingConfigurationError> for Error
Source§fn from(err: GetLoggingConfigurationError) -> Self
fn from(err: GetLoggingConfigurationError) -> Self
Source§impl From<GetPermissionPolicyError> for Error
impl From<GetPermissionPolicyError> for Error
Source§fn from(err: GetPermissionPolicyError) -> Self
fn from(err: GetPermissionPolicyError) -> Self
Source§impl From<GetRateBasedRuleError> for Error
impl From<GetRateBasedRuleError> for Error
Source§fn from(err: GetRateBasedRuleError) -> Self
fn from(err: GetRateBasedRuleError) -> Self
Source§impl From<GetRateBasedRuleManagedKeysError> for Error
impl From<GetRateBasedRuleManagedKeysError> for Error
Source§fn from(err: GetRateBasedRuleManagedKeysError) -> Self
fn from(err: GetRateBasedRuleManagedKeysError) -> Self
Source§impl From<GetRegexMatchSetError> for Error
impl From<GetRegexMatchSetError> for Error
Source§fn from(err: GetRegexMatchSetError) -> Self
fn from(err: GetRegexMatchSetError) -> Self
Source§impl From<GetRegexPatternSetError> for Error
impl From<GetRegexPatternSetError> for Error
Source§fn from(err: GetRegexPatternSetError) -> Self
fn from(err: GetRegexPatternSetError) -> Self
Source§impl From<GetRuleError> for Error
impl From<GetRuleError> for Error
Source§fn from(err: GetRuleError) -> Self
fn from(err: GetRuleError) -> Self
Source§impl From<GetRuleGroupError> for Error
impl From<GetRuleGroupError> for Error
Source§fn from(err: GetRuleGroupError) -> Self
fn from(err: GetRuleGroupError) -> Self
Source§impl From<GetSampledRequestsError> for Error
impl From<GetSampledRequestsError> for Error
Source§fn from(err: GetSampledRequestsError) -> Self
fn from(err: GetSampledRequestsError) -> Self
Source§impl From<GetSizeConstraintSetError> for Error
impl From<GetSizeConstraintSetError> for Error
Source§fn from(err: GetSizeConstraintSetError) -> Self
fn from(err: GetSizeConstraintSetError) -> Self
Source§impl From<GetSqlInjectionMatchSetError> for Error
impl From<GetSqlInjectionMatchSetError> for Error
Source§fn from(err: GetSqlInjectionMatchSetError) -> Self
fn from(err: GetSqlInjectionMatchSetError) -> Self
Source§impl From<GetWebACLError> for Error
impl From<GetWebACLError> for Error
Source§fn from(err: GetWebACLError) -> Self
fn from(err: GetWebACLError) -> Self
Source§impl From<GetWebACLForResourceError> for Error
impl From<GetWebACLForResourceError> for Error
Source§fn from(err: GetWebACLForResourceError) -> Self
fn from(err: GetWebACLForResourceError) -> Self
Source§impl From<GetXssMatchSetError> for Error
impl From<GetXssMatchSetError> for Error
Source§fn from(err: GetXssMatchSetError) -> Self
fn from(err: GetXssMatchSetError) -> Self
Source§impl From<ListActivatedRulesInRuleGroupError> for Error
impl From<ListActivatedRulesInRuleGroupError> for Error
Source§fn from(err: ListActivatedRulesInRuleGroupError) -> Self
fn from(err: ListActivatedRulesInRuleGroupError) -> Self
Source§impl From<ListByteMatchSetsError> for Error
impl From<ListByteMatchSetsError> for Error
Source§fn from(err: ListByteMatchSetsError) -> Self
fn from(err: ListByteMatchSetsError) -> Self
Source§impl From<ListGeoMatchSetsError> for Error
impl From<ListGeoMatchSetsError> for Error
Source§fn from(err: ListGeoMatchSetsError) -> Self
fn from(err: ListGeoMatchSetsError) -> Self
Source§impl From<ListIPSetsError> for Error
impl From<ListIPSetsError> for Error
Source§fn from(err: ListIPSetsError) -> Self
fn from(err: ListIPSetsError) -> Self
Source§impl From<ListLoggingConfigurationsError> for Error
impl From<ListLoggingConfigurationsError> for Error
Source§fn from(err: ListLoggingConfigurationsError) -> Self
fn from(err: ListLoggingConfigurationsError) -> Self
Source§impl From<ListRateBasedRulesError> for Error
impl From<ListRateBasedRulesError> for Error
Source§fn from(err: ListRateBasedRulesError) -> Self
fn from(err: ListRateBasedRulesError) -> Self
Source§impl From<ListRegexMatchSetsError> for Error
impl From<ListRegexMatchSetsError> for Error
Source§fn from(err: ListRegexMatchSetsError) -> Self
fn from(err: ListRegexMatchSetsError) -> Self
Source§impl From<ListRegexPatternSetsError> for Error
impl From<ListRegexPatternSetsError> for Error
Source§fn from(err: ListRegexPatternSetsError) -> Self
fn from(err: ListRegexPatternSetsError) -> Self
Source§impl From<ListResourcesForWebACLError> for Error
impl From<ListResourcesForWebACLError> for Error
Source§fn from(err: ListResourcesForWebACLError) -> Self
fn from(err: ListResourcesForWebACLError) -> Self
Source§impl From<ListRuleGroupsError> for Error
impl From<ListRuleGroupsError> for Error
Source§fn from(err: ListRuleGroupsError) -> Self
fn from(err: ListRuleGroupsError) -> Self
Source§impl From<ListRulesError> for Error
impl From<ListRulesError> for Error
Source§fn from(err: ListRulesError) -> Self
fn from(err: ListRulesError) -> Self
Source§impl From<ListSizeConstraintSetsError> for Error
impl From<ListSizeConstraintSetsError> for Error
Source§fn from(err: ListSizeConstraintSetsError) -> Self
fn from(err: ListSizeConstraintSetsError) -> Self
Source§impl From<ListSqlInjectionMatchSetsError> for Error
impl From<ListSqlInjectionMatchSetsError> for Error
Source§fn from(err: ListSqlInjectionMatchSetsError) -> Self
fn from(err: ListSqlInjectionMatchSetsError) -> Self
Source§impl From<ListSubscribedRuleGroupsError> for Error
impl From<ListSubscribedRuleGroupsError> for Error
Source§fn from(err: ListSubscribedRuleGroupsError) -> Self
fn from(err: ListSubscribedRuleGroupsError) -> 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<ListWebACLsError> for Error
impl From<ListWebACLsError> for Error
Source§fn from(err: ListWebACLsError) -> Self
fn from(err: ListWebACLsError) -> Self
Source§impl From<ListXssMatchSetsError> for Error
impl From<ListXssMatchSetsError> for Error
Source§fn from(err: ListXssMatchSetsError) -> Self
fn from(err: ListXssMatchSetsError) -> Self
Source§impl From<PutLoggingConfigurationError> for Error
impl From<PutLoggingConfigurationError> for Error
Source§fn from(err: PutLoggingConfigurationError) -> Self
fn from(err: PutLoggingConfigurationError) -> Self
Source§impl From<PutPermissionPolicyError> for Error
impl From<PutPermissionPolicyError> for Error
Source§fn from(err: PutPermissionPolicyError) -> Self
fn from(err: PutPermissionPolicyError) -> Self
Source§impl<R> From<SdkError<AssociateWebACLError, R>> for Error
impl<R> From<SdkError<AssociateWebACLError, R>> for Error
Source§fn from(err: SdkError<AssociateWebACLError, R>) -> Self
fn from(err: SdkError<AssociateWebACLError, R>) -> Self
Source§impl<R> From<SdkError<CreateByteMatchSetError, R>> for Error
impl<R> From<SdkError<CreateByteMatchSetError, R>> for Error
Source§fn from(err: SdkError<CreateByteMatchSetError, R>) -> Self
fn from(err: SdkError<CreateByteMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<CreateGeoMatchSetError, R>> for Error
impl<R> From<SdkError<CreateGeoMatchSetError, R>> for Error
Source§fn from(err: SdkError<CreateGeoMatchSetError, R>) -> Self
fn from(err: SdkError<CreateGeoMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<CreateIPSetError, R>> for Error
impl<R> From<SdkError<CreateIPSetError, R>> for Error
Source§fn from(err: SdkError<CreateIPSetError, R>) -> Self
fn from(err: SdkError<CreateIPSetError, R>) -> Self
Source§impl<R> From<SdkError<CreateRateBasedRuleError, R>> for Error
impl<R> From<SdkError<CreateRateBasedRuleError, R>> for Error
Source§fn from(err: SdkError<CreateRateBasedRuleError, R>) -> Self
fn from(err: SdkError<CreateRateBasedRuleError, R>) -> Self
Source§impl<R> From<SdkError<CreateRegexMatchSetError, R>> for Error
impl<R> From<SdkError<CreateRegexMatchSetError, R>> for Error
Source§fn from(err: SdkError<CreateRegexMatchSetError, R>) -> Self
fn from(err: SdkError<CreateRegexMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<CreateRegexPatternSetError, R>> for Error
impl<R> From<SdkError<CreateRegexPatternSetError, R>> for Error
Source§fn from(err: SdkError<CreateRegexPatternSetError, R>) -> Self
fn from(err: SdkError<CreateRegexPatternSetError, R>) -> Self
Source§impl<R> From<SdkError<CreateRuleError, R>> for Error
impl<R> From<SdkError<CreateRuleError, R>> for Error
Source§fn from(err: SdkError<CreateRuleError, R>) -> Self
fn from(err: SdkError<CreateRuleError, R>) -> Self
Source§impl<R> From<SdkError<CreateRuleGroupError, R>> for Error
impl<R> From<SdkError<CreateRuleGroupError, R>> for Error
Source§fn from(err: SdkError<CreateRuleGroupError, R>) -> Self
fn from(err: SdkError<CreateRuleGroupError, R>) -> Self
Source§impl<R> From<SdkError<CreateSizeConstraintSetError, R>> for Error
impl<R> From<SdkError<CreateSizeConstraintSetError, R>> for Error
Source§fn from(err: SdkError<CreateSizeConstraintSetError, R>) -> Self
fn from(err: SdkError<CreateSizeConstraintSetError, R>) -> Self
Source§impl<R> From<SdkError<CreateSqlInjectionMatchSetError, R>> for Error
impl<R> From<SdkError<CreateSqlInjectionMatchSetError, R>> for Error
Source§fn from(err: SdkError<CreateSqlInjectionMatchSetError, R>) -> Self
fn from(err: SdkError<CreateSqlInjectionMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<CreateWebACLError, R>> for Error
impl<R> From<SdkError<CreateWebACLError, R>> for Error
Source§fn from(err: SdkError<CreateWebACLError, R>) -> Self
fn from(err: SdkError<CreateWebACLError, R>) -> Self
Source§impl<R> From<SdkError<CreateWebACLMigrationStackError, R>> for Error
impl<R> From<SdkError<CreateWebACLMigrationStackError, R>> for Error
Source§fn from(err: SdkError<CreateWebACLMigrationStackError, R>) -> Self
fn from(err: SdkError<CreateWebACLMigrationStackError, R>) -> Self
Source§impl<R> From<SdkError<CreateXssMatchSetError, R>> for Error
impl<R> From<SdkError<CreateXssMatchSetError, R>> for Error
Source§fn from(err: SdkError<CreateXssMatchSetError, R>) -> Self
fn from(err: SdkError<CreateXssMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteByteMatchSetError, R>> for Error
impl<R> From<SdkError<DeleteByteMatchSetError, R>> for Error
Source§fn from(err: SdkError<DeleteByteMatchSetError, R>) -> Self
fn from(err: SdkError<DeleteByteMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteGeoMatchSetError, R>> for Error
impl<R> From<SdkError<DeleteGeoMatchSetError, R>> for Error
Source§fn from(err: SdkError<DeleteGeoMatchSetError, R>) -> Self
fn from(err: SdkError<DeleteGeoMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteIPSetError, R>> for Error
impl<R> From<SdkError<DeleteIPSetError, R>> for Error
Source§fn from(err: SdkError<DeleteIPSetError, R>) -> Self
fn from(err: SdkError<DeleteIPSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteLoggingConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteLoggingConfigurationError, R>> for Error
Source§fn from(err: SdkError<DeleteLoggingConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteLoggingConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DeletePermissionPolicyError, R>> for Error
impl<R> From<SdkError<DeletePermissionPolicyError, R>> for Error
Source§fn from(err: SdkError<DeletePermissionPolicyError, R>) -> Self
fn from(err: SdkError<DeletePermissionPolicyError, R>) -> Self
Source§impl<R> From<SdkError<DeleteRateBasedRuleError, R>> for Error
impl<R> From<SdkError<DeleteRateBasedRuleError, R>> for Error
Source§fn from(err: SdkError<DeleteRateBasedRuleError, R>) -> Self
fn from(err: SdkError<DeleteRateBasedRuleError, R>) -> Self
Source§impl<R> From<SdkError<DeleteRegexMatchSetError, R>> for Error
impl<R> From<SdkError<DeleteRegexMatchSetError, R>> for Error
Source§fn from(err: SdkError<DeleteRegexMatchSetError, R>) -> Self
fn from(err: SdkError<DeleteRegexMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteRegexPatternSetError, R>> for Error
impl<R> From<SdkError<DeleteRegexPatternSetError, R>> for Error
Source§fn from(err: SdkError<DeleteRegexPatternSetError, R>) -> Self
fn from(err: SdkError<DeleteRegexPatternSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteRuleError, R>> for Error
impl<R> From<SdkError<DeleteRuleError, R>> for Error
Source§fn from(err: SdkError<DeleteRuleError, R>) -> Self
fn from(err: SdkError<DeleteRuleError, R>) -> Self
Source§impl<R> From<SdkError<DeleteRuleGroupError, R>> for Error
impl<R> From<SdkError<DeleteRuleGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteRuleGroupError, R>) -> Self
fn from(err: SdkError<DeleteRuleGroupError, R>) -> Self
Source§impl<R> From<SdkError<DeleteSizeConstraintSetError, R>> for Error
impl<R> From<SdkError<DeleteSizeConstraintSetError, R>> for Error
Source§fn from(err: SdkError<DeleteSizeConstraintSetError, R>) -> Self
fn from(err: SdkError<DeleteSizeConstraintSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteSqlInjectionMatchSetError, R>> for Error
impl<R> From<SdkError<DeleteSqlInjectionMatchSetError, R>> for Error
Source§fn from(err: SdkError<DeleteSqlInjectionMatchSetError, R>) -> Self
fn from(err: SdkError<DeleteSqlInjectionMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<DeleteWebACLError, R>> for Error
impl<R> From<SdkError<DeleteWebACLError, R>> for Error
Source§fn from(err: SdkError<DeleteWebACLError, R>) -> Self
fn from(err: SdkError<DeleteWebACLError, R>) -> Self
Source§impl<R> From<SdkError<DeleteXssMatchSetError, R>> for Error
impl<R> From<SdkError<DeleteXssMatchSetError, R>> for Error
Source§fn from(err: SdkError<DeleteXssMatchSetError, R>) -> Self
fn from(err: SdkError<DeleteXssMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<DisassociateWebACLError, R>> for Error
impl<R> From<SdkError<DisassociateWebACLError, R>> for Error
Source§fn from(err: SdkError<DisassociateWebACLError, R>) -> Self
fn from(err: SdkError<DisassociateWebACLError, R>) -> Self
Source§impl<R> From<SdkError<GetByteMatchSetError, R>> for Error
impl<R> From<SdkError<GetByteMatchSetError, R>> for Error
Source§fn from(err: SdkError<GetByteMatchSetError, R>) -> Self
fn from(err: SdkError<GetByteMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<GetChangeTokenError, R>> for Error
impl<R> From<SdkError<GetChangeTokenError, R>> for Error
Source§fn from(err: SdkError<GetChangeTokenError, R>) -> Self
fn from(err: SdkError<GetChangeTokenError, R>) -> Self
Source§impl<R> From<SdkError<GetChangeTokenStatusError, R>> for Error
impl<R> From<SdkError<GetChangeTokenStatusError, R>> for Error
Source§fn from(err: SdkError<GetChangeTokenStatusError, R>) -> Self
fn from(err: SdkError<GetChangeTokenStatusError, R>) -> Self
Source§impl<R> From<SdkError<GetGeoMatchSetError, R>> for Error
impl<R> From<SdkError<GetGeoMatchSetError, R>> for Error
Source§fn from(err: SdkError<GetGeoMatchSetError, R>) -> Self
fn from(err: SdkError<GetGeoMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<GetIPSetError, R>> for Error
impl<R> From<SdkError<GetIPSetError, R>> for Error
Source§fn from(err: SdkError<GetIPSetError, R>) -> Self
fn from(err: SdkError<GetIPSetError, R>) -> Self
Source§impl<R> From<SdkError<GetLoggingConfigurationError, R>> for Error
impl<R> From<SdkError<GetLoggingConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetLoggingConfigurationError, R>) -> Self
fn from(err: SdkError<GetLoggingConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetPermissionPolicyError, R>> for Error
impl<R> From<SdkError<GetPermissionPolicyError, R>> for Error
Source§fn from(err: SdkError<GetPermissionPolicyError, R>) -> Self
fn from(err: SdkError<GetPermissionPolicyError, R>) -> Self
Source§impl<R> From<SdkError<GetRateBasedRuleError, R>> for Error
impl<R> From<SdkError<GetRateBasedRuleError, R>> for Error
Source§fn from(err: SdkError<GetRateBasedRuleError, R>) -> Self
fn from(err: SdkError<GetRateBasedRuleError, R>) -> Self
Source§impl<R> From<SdkError<GetRateBasedRuleManagedKeysError, R>> for Error
impl<R> From<SdkError<GetRateBasedRuleManagedKeysError, R>> for Error
Source§fn from(err: SdkError<GetRateBasedRuleManagedKeysError, R>) -> Self
fn from(err: SdkError<GetRateBasedRuleManagedKeysError, R>) -> Self
Source§impl<R> From<SdkError<GetRegexMatchSetError, R>> for Error
impl<R> From<SdkError<GetRegexMatchSetError, R>> for Error
Source§fn from(err: SdkError<GetRegexMatchSetError, R>) -> Self
fn from(err: SdkError<GetRegexMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<GetRegexPatternSetError, R>> for Error
impl<R> From<SdkError<GetRegexPatternSetError, R>> for Error
Source§fn from(err: SdkError<GetRegexPatternSetError, R>) -> Self
fn from(err: SdkError<GetRegexPatternSetError, R>) -> Self
Source§impl<R> From<SdkError<GetRuleError, R>> for Error
impl<R> From<SdkError<GetRuleError, R>> for Error
Source§fn from(err: SdkError<GetRuleError, R>) -> Self
fn from(err: SdkError<GetRuleError, R>) -> Self
Source§impl<R> From<SdkError<GetRuleGroupError, R>> for Error
impl<R> From<SdkError<GetRuleGroupError, R>> for Error
Source§fn from(err: SdkError<GetRuleGroupError, R>) -> Self
fn from(err: SdkError<GetRuleGroupError, R>) -> Self
Source§impl<R> From<SdkError<GetSampledRequestsError, R>> for Error
impl<R> From<SdkError<GetSampledRequestsError, R>> for Error
Source§fn from(err: SdkError<GetSampledRequestsError, R>) -> Self
fn from(err: SdkError<GetSampledRequestsError, R>) -> Self
Source§impl<R> From<SdkError<GetSizeConstraintSetError, R>> for Error
impl<R> From<SdkError<GetSizeConstraintSetError, R>> for Error
Source§fn from(err: SdkError<GetSizeConstraintSetError, R>) -> Self
fn from(err: SdkError<GetSizeConstraintSetError, R>) -> Self
Source§impl<R> From<SdkError<GetSqlInjectionMatchSetError, R>> for Error
impl<R> From<SdkError<GetSqlInjectionMatchSetError, R>> for Error
Source§fn from(err: SdkError<GetSqlInjectionMatchSetError, R>) -> Self
fn from(err: SdkError<GetSqlInjectionMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<GetWebACLError, R>> for Error
impl<R> From<SdkError<GetWebACLError, R>> for Error
Source§fn from(err: SdkError<GetWebACLError, R>) -> Self
fn from(err: SdkError<GetWebACLError, R>) -> Self
Source§impl<R> From<SdkError<GetWebACLForResourceError, R>> for Error
impl<R> From<SdkError<GetWebACLForResourceError, R>> for Error
Source§fn from(err: SdkError<GetWebACLForResourceError, R>) -> Self
fn from(err: SdkError<GetWebACLForResourceError, R>) -> Self
Source§impl<R> From<SdkError<GetXssMatchSetError, R>> for Error
impl<R> From<SdkError<GetXssMatchSetError, R>> for Error
Source§fn from(err: SdkError<GetXssMatchSetError, R>) -> Self
fn from(err: SdkError<GetXssMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<ListActivatedRulesInRuleGroupError, R>> for Error
impl<R> From<SdkError<ListActivatedRulesInRuleGroupError, R>> for Error
Source§fn from(err: SdkError<ListActivatedRulesInRuleGroupError, R>) -> Self
fn from(err: SdkError<ListActivatedRulesInRuleGroupError, R>) -> Self
Source§impl<R> From<SdkError<ListByteMatchSetsError, R>> for Error
impl<R> From<SdkError<ListByteMatchSetsError, R>> for Error
Source§fn from(err: SdkError<ListByteMatchSetsError, R>) -> Self
fn from(err: SdkError<ListByteMatchSetsError, R>) -> Self
Source§impl<R> From<SdkError<ListGeoMatchSetsError, R>> for Error
impl<R> From<SdkError<ListGeoMatchSetsError, R>> for Error
Source§fn from(err: SdkError<ListGeoMatchSetsError, R>) -> Self
fn from(err: SdkError<ListGeoMatchSetsError, R>) -> Self
Source§impl<R> From<SdkError<ListIPSetsError, R>> for Error
impl<R> From<SdkError<ListIPSetsError, R>> for Error
Source§fn from(err: SdkError<ListIPSetsError, R>) -> Self
fn from(err: SdkError<ListIPSetsError, R>) -> Self
Source§impl<R> From<SdkError<ListLoggingConfigurationsError, R>> for Error
impl<R> From<SdkError<ListLoggingConfigurationsError, R>> for Error
Source§fn from(err: SdkError<ListLoggingConfigurationsError, R>) -> Self
fn from(err: SdkError<ListLoggingConfigurationsError, R>) -> Self
Source§impl<R> From<SdkError<ListRateBasedRulesError, R>> for Error
impl<R> From<SdkError<ListRateBasedRulesError, R>> for Error
Source§fn from(err: SdkError<ListRateBasedRulesError, R>) -> Self
fn from(err: SdkError<ListRateBasedRulesError, R>) -> Self
Source§impl<R> From<SdkError<ListRegexMatchSetsError, R>> for Error
impl<R> From<SdkError<ListRegexMatchSetsError, R>> for Error
Source§fn from(err: SdkError<ListRegexMatchSetsError, R>) -> Self
fn from(err: SdkError<ListRegexMatchSetsError, R>) -> Self
Source§impl<R> From<SdkError<ListRegexPatternSetsError, R>> for Error
impl<R> From<SdkError<ListRegexPatternSetsError, R>> for Error
Source§fn from(err: SdkError<ListRegexPatternSetsError, R>) -> Self
fn from(err: SdkError<ListRegexPatternSetsError, R>) -> Self
Source§impl<R> From<SdkError<ListResourcesForWebACLError, R>> for Error
impl<R> From<SdkError<ListResourcesForWebACLError, R>> for Error
Source§fn from(err: SdkError<ListResourcesForWebACLError, R>) -> Self
fn from(err: SdkError<ListResourcesForWebACLError, R>) -> Self
Source§impl<R> From<SdkError<ListRuleGroupsError, R>> for Error
impl<R> From<SdkError<ListRuleGroupsError, R>> for Error
Source§fn from(err: SdkError<ListRuleGroupsError, R>) -> Self
fn from(err: SdkError<ListRuleGroupsError, R>) -> Self
Source§impl<R> From<SdkError<ListRulesError, R>> for Error
impl<R> From<SdkError<ListRulesError, R>> for Error
Source§fn from(err: SdkError<ListRulesError, R>) -> Self
fn from(err: SdkError<ListRulesError, R>) -> Self
Source§impl<R> From<SdkError<ListSizeConstraintSetsError, R>> for Error
impl<R> From<SdkError<ListSizeConstraintSetsError, R>> for Error
Source§fn from(err: SdkError<ListSizeConstraintSetsError, R>) -> Self
fn from(err: SdkError<ListSizeConstraintSetsError, R>) -> Self
Source§impl<R> From<SdkError<ListSqlInjectionMatchSetsError, R>> for Error
impl<R> From<SdkError<ListSqlInjectionMatchSetsError, R>> for Error
Source§fn from(err: SdkError<ListSqlInjectionMatchSetsError, R>) -> Self
fn from(err: SdkError<ListSqlInjectionMatchSetsError, R>) -> Self
Source§impl<R> From<SdkError<ListSubscribedRuleGroupsError, R>> for Error
impl<R> From<SdkError<ListSubscribedRuleGroupsError, R>> for Error
Source§fn from(err: SdkError<ListSubscribedRuleGroupsError, R>) -> Self
fn from(err: SdkError<ListSubscribedRuleGroupsError, 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<ListWebACLsError, R>> for Error
impl<R> From<SdkError<ListWebACLsError, R>> for Error
Source§fn from(err: SdkError<ListWebACLsError, R>) -> Self
fn from(err: SdkError<ListWebACLsError, R>) -> Self
Source§impl<R> From<SdkError<ListXssMatchSetsError, R>> for Error
impl<R> From<SdkError<ListXssMatchSetsError, R>> for Error
Source§fn from(err: SdkError<ListXssMatchSetsError, R>) -> Self
fn from(err: SdkError<ListXssMatchSetsError, R>) -> Self
Source§impl<R> From<SdkError<PutLoggingConfigurationError, R>> for Error
impl<R> From<SdkError<PutLoggingConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutLoggingConfigurationError, R>) -> Self
fn from(err: SdkError<PutLoggingConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutPermissionPolicyError, R>> for Error
impl<R> From<SdkError<PutPermissionPolicyError, R>> for Error
Source§fn from(err: SdkError<PutPermissionPolicyError, R>) -> Self
fn from(err: SdkError<PutPermissionPolicyError, R>) -> Self
Source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
Source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
Source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Source§impl<R> From<SdkError<UpdateByteMatchSetError, R>> for Error
impl<R> From<SdkError<UpdateByteMatchSetError, R>> for Error
Source§fn from(err: SdkError<UpdateByteMatchSetError, R>) -> Self
fn from(err: SdkError<UpdateByteMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<UpdateGeoMatchSetError, R>> for Error
impl<R> From<SdkError<UpdateGeoMatchSetError, R>> for Error
Source§fn from(err: SdkError<UpdateGeoMatchSetError, R>) -> Self
fn from(err: SdkError<UpdateGeoMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<UpdateIPSetError, R>> for Error
impl<R> From<SdkError<UpdateIPSetError, R>> for Error
Source§fn from(err: SdkError<UpdateIPSetError, R>) -> Self
fn from(err: SdkError<UpdateIPSetError, R>) -> Self
Source§impl<R> From<SdkError<UpdateRateBasedRuleError, R>> for Error
impl<R> From<SdkError<UpdateRateBasedRuleError, R>> for Error
Source§fn from(err: SdkError<UpdateRateBasedRuleError, R>) -> Self
fn from(err: SdkError<UpdateRateBasedRuleError, R>) -> Self
Source§impl<R> From<SdkError<UpdateRegexMatchSetError, R>> for Error
impl<R> From<SdkError<UpdateRegexMatchSetError, R>> for Error
Source§fn from(err: SdkError<UpdateRegexMatchSetError, R>) -> Self
fn from(err: SdkError<UpdateRegexMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<UpdateRegexPatternSetError, R>> for Error
impl<R> From<SdkError<UpdateRegexPatternSetError, R>> for Error
Source§fn from(err: SdkError<UpdateRegexPatternSetError, R>) -> Self
fn from(err: SdkError<UpdateRegexPatternSetError, R>) -> Self
Source§impl<R> From<SdkError<UpdateRuleError, R>> for Error
impl<R> From<SdkError<UpdateRuleError, R>> for Error
Source§fn from(err: SdkError<UpdateRuleError, R>) -> Self
fn from(err: SdkError<UpdateRuleError, R>) -> Self
Source§impl<R> From<SdkError<UpdateRuleGroupError, R>> for Error
impl<R> From<SdkError<UpdateRuleGroupError, R>> for Error
Source§fn from(err: SdkError<UpdateRuleGroupError, R>) -> Self
fn from(err: SdkError<UpdateRuleGroupError, R>) -> Self
Source§impl<R> From<SdkError<UpdateSizeConstraintSetError, R>> for Error
impl<R> From<SdkError<UpdateSizeConstraintSetError, R>> for Error
Source§fn from(err: SdkError<UpdateSizeConstraintSetError, R>) -> Self
fn from(err: SdkError<UpdateSizeConstraintSetError, R>) -> Self
Source§impl<R> From<SdkError<UpdateSqlInjectionMatchSetError, R>> for Error
impl<R> From<SdkError<UpdateSqlInjectionMatchSetError, R>> for Error
Source§fn from(err: SdkError<UpdateSqlInjectionMatchSetError, R>) -> Self
fn from(err: SdkError<UpdateSqlInjectionMatchSetError, R>) -> Self
Source§impl<R> From<SdkError<UpdateWebACLError, R>> for Error
impl<R> From<SdkError<UpdateWebACLError, R>> for Error
Source§fn from(err: SdkError<UpdateWebACLError, R>) -> Self
fn from(err: SdkError<UpdateWebACLError, R>) -> Self
Source§impl<R> From<SdkError<UpdateXssMatchSetError, R>> for Error
impl<R> From<SdkError<UpdateXssMatchSetError, R>> for Error
Source§fn from(err: SdkError<UpdateXssMatchSetError, R>) -> Self
fn from(err: SdkError<UpdateXssMatchSetError, R>) -> Self
Source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
Source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
Source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
Source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
Source§impl From<UpdateByteMatchSetError> for Error
impl From<UpdateByteMatchSetError> for Error
Source§fn from(err: UpdateByteMatchSetError) -> Self
fn from(err: UpdateByteMatchSetError) -> Self
Source§impl From<UpdateGeoMatchSetError> for Error
impl From<UpdateGeoMatchSetError> for Error
Source§fn from(err: UpdateGeoMatchSetError) -> Self
fn from(err: UpdateGeoMatchSetError) -> Self
Source§impl From<UpdateIPSetError> for Error
impl From<UpdateIPSetError> for Error
Source§fn from(err: UpdateIPSetError) -> Self
fn from(err: UpdateIPSetError) -> Self
Source§impl From<UpdateRateBasedRuleError> for Error
impl From<UpdateRateBasedRuleError> for Error
Source§fn from(err: UpdateRateBasedRuleError) -> Self
fn from(err: UpdateRateBasedRuleError) -> Self
Source§impl From<UpdateRegexMatchSetError> for Error
impl From<UpdateRegexMatchSetError> for Error
Source§fn from(err: UpdateRegexMatchSetError) -> Self
fn from(err: UpdateRegexMatchSetError) -> Self
Source§impl From<UpdateRegexPatternSetError> for Error
impl From<UpdateRegexPatternSetError> for Error
Source§fn from(err: UpdateRegexPatternSetError) -> Self
fn from(err: UpdateRegexPatternSetError) -> Self
Source§impl From<UpdateRuleError> for Error
impl From<UpdateRuleError> for Error
Source§fn from(err: UpdateRuleError) -> Self
fn from(err: UpdateRuleError) -> Self
Source§impl From<UpdateRuleGroupError> for Error
impl From<UpdateRuleGroupError> for Error
Source§fn from(err: UpdateRuleGroupError) -> Self
fn from(err: UpdateRuleGroupError) -> Self
Source§impl From<UpdateSizeConstraintSetError> for Error
impl From<UpdateSizeConstraintSetError> for Error
Source§fn from(err: UpdateSizeConstraintSetError) -> Self
fn from(err: UpdateSizeConstraintSetError) -> Self
Source§impl From<UpdateSqlInjectionMatchSetError> for Error
impl From<UpdateSqlInjectionMatchSetError> for Error
Source§fn from(err: UpdateSqlInjectionMatchSetError) -> Self
fn from(err: UpdateSqlInjectionMatchSetError) -> Self
Source§impl From<UpdateWebACLError> for Error
impl From<UpdateWebACLError> for Error
Source§fn from(err: UpdateWebACLError) -> Self
fn from(err: UpdateWebACLError) -> Self
Source§impl From<UpdateXssMatchSetError> for Error
impl From<UpdateXssMatchSetError> for Error
Source§fn from(err: UpdateXssMatchSetError) -> Self
fn from(err: UpdateXssMatchSetError) -> 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>
Returns self
with the
fg()
set to
Color::BrightBlack
.
§Example
println!("{}", value.bright_black());
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>
Returns self
with the
fg()
set to
Color::BrightGreen
.
§Example
println!("{}", value.bright_green());
Source§fn bright_yellow(&self) -> Painted<&T>
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>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
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>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
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>
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>
Returns self
with the
bg()
set to
Color::BrightBlack
.
§Example
println!("{}", value.on_bright_black());
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>
Returns self
with the
bg()
set to
Color::BrightGreen
.
§Example
println!("{}", value.on_bright_green());
Source§fn on_bright_yellow(&self) -> Painted<&T>
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>
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>
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>
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>
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>
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 underline(&self) -> Painted<&T>
fn underline(&self) -> Painted<&T>
Returns self
with the
attr()
set to
Attribute::Underline
.
§Example
println!("{}", value.underline());
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Returns self
with the
attr()
set to
Attribute::RapidBlink
.
§Example
println!("{}", value.rapid_blink());
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);