Error

Enum Error 

Source
#[non_exhaustive]
pub enum Error {
Show 56 variants AliasExistsException(AliasExistsException), CodeDeliveryFailureException(CodeDeliveryFailureException), CodeMismatchException(CodeMismatchException), ConcurrentModificationException(ConcurrentModificationException), DeviceKeyExistsException(DeviceKeyExistsException), DuplicateProviderException(DuplicateProviderException), EnableSoftwareTokenMfaException(EnableSoftwareTokenMfaException), ExpiredCodeException(ExpiredCodeException), FeatureUnavailableInTierException(FeatureUnavailableInTierException), ForbiddenException(ForbiddenException), GroupExistsException(GroupExistsException), InternalErrorException(InternalErrorException), InvalidEmailRoleAccessPolicyException(InvalidEmailRoleAccessPolicyException), InvalidLambdaResponseException(InvalidLambdaResponseException), InvalidOAuthFlowException(InvalidOAuthFlowException), InvalidParameterException(InvalidParameterException), InvalidPasswordException(InvalidPasswordException), InvalidSmsRoleAccessPolicyException(InvalidSmsRoleAccessPolicyException), InvalidSmsRoleTrustRelationshipException(InvalidSmsRoleTrustRelationshipException), InvalidUserPoolConfigurationException(InvalidUserPoolConfigurationException), LimitExceededException(LimitExceededException), MfaMethodNotFoundException(MfaMethodNotFoundException), ManagedLoginBrandingExistsException(ManagedLoginBrandingExistsException), NotAuthorizedException(NotAuthorizedException), PasswordHistoryPolicyViolationException(PasswordHistoryPolicyViolationException), PasswordResetRequiredException(PasswordResetRequiredException), PreconditionNotMetException(PreconditionNotMetException), RefreshTokenReuseException(RefreshTokenReuseException), ResourceNotFoundException(ResourceNotFoundException), ScopeDoesNotExistException(ScopeDoesNotExistException), SoftwareTokenMfaNotFoundException(SoftwareTokenMfaNotFoundException), TermsExistsException(TermsExistsException), TierChangeNotAllowedException(TierChangeNotAllowedException), TooManyFailedAttemptsException(TooManyFailedAttemptsException), TooManyRequestsException(TooManyRequestsException), UnauthorizedException(UnauthorizedException), UnexpectedLambdaException(UnexpectedLambdaException), UnsupportedIdentityProviderException(UnsupportedIdentityProviderException), UnsupportedOperationException(UnsupportedOperationException), UnsupportedTokenTypeException(UnsupportedTokenTypeException), UnsupportedUserStateException(UnsupportedUserStateException), UserImportInProgressException(UserImportInProgressException), UserLambdaValidationException(UserLambdaValidationException), UserNotConfirmedException(UserNotConfirmedException), UserNotFoundException(UserNotFoundException), UserPoolAddOnNotEnabledException(UserPoolAddOnNotEnabledException), UserPoolTaggingException(UserPoolTaggingException), UsernameExistsException(UsernameExistsException), WebAuthnChallengeNotFoundException(WebAuthnChallengeNotFoundException), WebAuthnClientMismatchException(WebAuthnClientMismatchException), WebAuthnConfigurationMissingException(WebAuthnConfigurationMissingException), WebAuthnCredentialNotSupportedException(WebAuthnCredentialNotSupportedException), WebAuthnNotEnabledException(WebAuthnNotEnabledException), WebAuthnOriginNotAllowedException(WebAuthnOriginNotAllowedException), WebAuthnRelyingPartyMismatchException(WebAuthnRelyingPartyMismatchException), 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.
§

AliasExistsException(AliasExistsException)

This exception is thrown when a user tries to confirm the account with an email address or phone number that has already been supplied as an alias for a different user profile. This exception indicates that an account with this email address or phone already exists in a user pool that you've configured to use email address or phone number as a sign-in alias.

§

CodeDeliveryFailureException(CodeDeliveryFailureException)

This exception is thrown when a verification code fails to deliver successfully.

§

CodeMismatchException(CodeMismatchException)

This exception is thrown if the provided code doesn't match what the server was expecting.

§

ConcurrentModificationException(ConcurrentModificationException)

This exception is thrown if two or more modifications are happening concurrently.

§

DeviceKeyExistsException(DeviceKeyExistsException)

This exception is thrown when a user attempts to confirm a device with a device key that already exists.

§

DuplicateProviderException(DuplicateProviderException)

This exception is thrown when the provider is already supported by the user pool.

§

EnableSoftwareTokenMfaException(EnableSoftwareTokenMfaException)

This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).

§

ExpiredCodeException(ExpiredCodeException)

This exception is thrown if a code has expired.

§

FeatureUnavailableInTierException(FeatureUnavailableInTierException)

This exception is thrown when a feature you attempted to configure isn't available in your current feature plan.

§

ForbiddenException(ForbiddenException)

This exception is thrown when WAF doesn't allow your request based on a web ACL that's associated with your user pool.

§

GroupExistsException(GroupExistsException)

This exception is thrown when Amazon Cognito encounters a group that already exists in the user pool.

§

InternalErrorException(InternalErrorException)

This exception is thrown when Amazon Cognito encounters an internal error.

§

InvalidEmailRoleAccessPolicyException(InvalidEmailRoleAccessPolicyException)

This exception is thrown when Amazon Cognito isn't allowed to use your email identity. HTTP status code: 400.

§

InvalidLambdaResponseException(InvalidLambdaResponseException)

This exception is thrown when Amazon Cognito encounters an invalid Lambda response.

§

InvalidOAuthFlowException(InvalidOAuthFlowException)

This exception is thrown when the specified OAuth flow is not valid.

§

InvalidParameterException(InvalidParameterException)

This exception is thrown when the Amazon Cognito service encounters an invalid parameter.

§

InvalidPasswordException(InvalidPasswordException)

This exception is thrown when Amazon Cognito encounters an invalid password.

§

InvalidSmsRoleAccessPolicyException(InvalidSmsRoleAccessPolicyException)

This exception is returned when the role provided for SMS configuration doesn't have permission to publish using Amazon SNS.

§

InvalidSmsRoleTrustRelationshipException(InvalidSmsRoleTrustRelationshipException)

This exception is thrown when the trust relationship is not valid for the role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com or the external ID provided in the role does not match what is provided in the SMS configuration for the user pool.

§

InvalidUserPoolConfigurationException(InvalidUserPoolConfigurationException)

This exception is thrown when the user pool configuration is not valid.

§

LimitExceededException(LimitExceededException)

This exception is thrown when a user exceeds the limit for a requested Amazon Web Services resource.

§

MfaMethodNotFoundException(MfaMethodNotFoundException)

This exception is thrown when Amazon Cognito can't find a multi-factor authentication (MFA) method.

§

ManagedLoginBrandingExistsException(ManagedLoginBrandingExistsException)

This exception is thrown when you attempt to apply a managed login branding style to an app client that already has an assigned style.

§

NotAuthorizedException(NotAuthorizedException)

This exception is thrown when a user isn't authorized.

§

PasswordHistoryPolicyViolationException(PasswordHistoryPolicyViolationException)

The message returned when a user's new password matches a previous password and doesn't comply with the password-history policy.

§

PasswordResetRequiredException(PasswordResetRequiredException)

This exception is thrown when a password reset is required.

§

PreconditionNotMetException(PreconditionNotMetException)

This exception is thrown when a precondition is not met.

§

RefreshTokenReuseException(RefreshTokenReuseException)

This exception is throw when your application requests token refresh with a refresh token that has been invalidated by refresh-token rotation.

§

ResourceNotFoundException(ResourceNotFoundException)

This exception is thrown when the Amazon Cognito service can't find the requested resource.

§

ScopeDoesNotExistException(ScopeDoesNotExistException)

This exception is thrown when the specified scope doesn't exist.

§

SoftwareTokenMfaNotFoundException(SoftwareTokenMfaNotFoundException)

This exception is thrown when the software token time-based one-time password (TOTP) multi-factor authentication (MFA) isn't activated for the user pool.

§

TermsExistsException(TermsExistsException)

Terms document names must be unique to the app client. This exception is thrown when you attempt to create terms documents with a duplicate TermsName.

§

TierChangeNotAllowedException(TierChangeNotAllowedException)

This exception is thrown when you've attempted to change your feature plan but the operation isn't permitted.

§

TooManyFailedAttemptsException(TooManyFailedAttemptsException)

This exception is thrown when the user has made too many failed attempts for a given action, such as sign-in.

§

TooManyRequestsException(TooManyRequestsException)

This exception is thrown when the user has made too many requests for a given operation.

§

UnauthorizedException(UnauthorizedException)

Exception that is thrown when the request isn't authorized. This can happen due to an invalid access token in the request.

§

UnexpectedLambdaException(UnexpectedLambdaException)

This exception is thrown when Amazon Cognito encounters an unexpected exception with Lambda.

§

UnsupportedIdentityProviderException(UnsupportedIdentityProviderException)

This exception is thrown when the specified identifier isn't supported.

§

UnsupportedOperationException(UnsupportedOperationException)

Exception that is thrown when you attempt to perform an operation that isn't enabled for the user pool client.

§

UnsupportedTokenTypeException(UnsupportedTokenTypeException)

Exception that is thrown when an unsupported token is passed to an operation.

§

UnsupportedUserStateException(UnsupportedUserStateException)

The request failed because the user is in an unsupported state.

§

UserImportInProgressException(UserImportInProgressException)

This exception is thrown when you're trying to modify a user pool while a user import job is in progress for that pool.

§

UserLambdaValidationException(UserLambdaValidationException)

This exception is thrown when the Amazon Cognito service encounters a user validation exception with the Lambda service.

§

UserNotConfirmedException(UserNotConfirmedException)

This exception is thrown when a user isn't confirmed successfully.

§

UserNotFoundException(UserNotFoundException)

This exception is thrown when a user isn't found.

§

UserPoolAddOnNotEnabledException(UserPoolAddOnNotEnabledException)

This exception is thrown when user pool add-ons aren't enabled.

§

UserPoolTaggingException(UserPoolTaggingException)

This exception is thrown when a user pool tag can't be set or updated.

§

UsernameExistsException(UsernameExistsException)

This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.

§

WebAuthnChallengeNotFoundException(WebAuthnChallengeNotFoundException)

This exception is thrown when the challenge from StartWebAuthn registration has expired.

§

WebAuthnClientMismatchException(WebAuthnClientMismatchException)

This exception is thrown when the access token is for a different client than the one in the original StartWebAuthnRegistration request.

§

WebAuthnConfigurationMissingException(WebAuthnConfigurationMissingException)

This exception is thrown when a user pool doesn't have a configured relying party id or a user pool domain.

§

WebAuthnCredentialNotSupportedException(WebAuthnCredentialNotSupportedException)

This exception is thrown when a user presents passkey credentials from an unsupported device or provider.

§

WebAuthnNotEnabledException(WebAuthnNotEnabledException)

This exception is thrown when the passkey feature isn't enabled for the user pool.

§

WebAuthnOriginNotAllowedException(WebAuthnOriginNotAllowedException)

This exception is thrown when the passkey credential's registration origin does not align with the user pool relying party id.

§

WebAuthnRelyingPartyMismatchException(WebAuthnRelyingPartyMismatchException)

This exception is thrown when the given passkey credential is associated with a different relying party ID than the user pool relying party ID.

§

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<AddCustomAttributesError> for Error

Source§

fn from(err: AddCustomAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminAddUserToGroupError> for Error

Source§

fn from(err: AdminAddUserToGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminConfirmSignUpError> for Error

Source§

fn from(err: AdminConfirmSignUpError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminCreateUserError> for Error

Source§

fn from(err: AdminCreateUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminDeleteUserAttributesError> for Error

Source§

fn from(err: AdminDeleteUserAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminDeleteUserError> for Error

Source§

fn from(err: AdminDeleteUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminDisableProviderForUserError> for Error

Source§

fn from(err: AdminDisableProviderForUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminDisableUserError> for Error

Source§

fn from(err: AdminDisableUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminEnableUserError> for Error

Source§

fn from(err: AdminEnableUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminForgetDeviceError> for Error

Source§

fn from(err: AdminForgetDeviceError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminGetDeviceError> for Error

Source§

fn from(err: AdminGetDeviceError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminGetUserError> for Error

Source§

fn from(err: AdminGetUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminInitiateAuthError> for Error

Source§

fn from(err: AdminInitiateAuthError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminLinkProviderForUserError> for Error

Source§

fn from(err: AdminLinkProviderForUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminListDevicesError> for Error

Source§

fn from(err: AdminListDevicesError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminListGroupsForUserError> for Error

Source§

fn from(err: AdminListGroupsForUserError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminListUserAuthEventsError> for Error

Source§

fn from(err: AdminListUserAuthEventsError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminRemoveUserFromGroupError> for Error

Source§

fn from(err: AdminRemoveUserFromGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminResetUserPasswordError> for Error

Source§

fn from(err: AdminResetUserPasswordError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminRespondToAuthChallengeError> for Error

Source§

fn from(err: AdminRespondToAuthChallengeError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminSetUserMFAPreferenceError> for Error

Source§

fn from(err: AdminSetUserMFAPreferenceError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminSetUserPasswordError> for Error

Source§

fn from(err: AdminSetUserPasswordError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminSetUserSettingsError> for Error

Source§

fn from(err: AdminSetUserSettingsError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminUpdateAuthEventFeedbackError> for Error

Source§

fn from(err: AdminUpdateAuthEventFeedbackError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminUpdateDeviceStatusError> for Error

Source§

fn from(err: AdminUpdateDeviceStatusError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminUpdateUserAttributesError> for Error

Source§

fn from(err: AdminUpdateUserAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<AdminUserGlobalSignOutError> for Error

Source§

fn from(err: AdminUserGlobalSignOutError) -> Self

Converts to this type from the input type.
Source§

impl From<AssociateSoftwareTokenError> for Error

Source§

fn from(err: AssociateSoftwareTokenError) -> 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<ChangePasswordError> for Error

Source§

fn from(err: ChangePasswordError) -> Self

Converts to this type from the input type.
Source§

impl From<CompleteWebAuthnRegistrationError> for Error

Source§

fn from(err: CompleteWebAuthnRegistrationError) -> Self

Converts to this type from the input type.
Source§

impl From<ConfirmDeviceError> for Error

Source§

fn from(err: ConfirmDeviceError) -> Self

Converts to this type from the input type.
Source§

impl From<ConfirmForgotPasswordError> for Error

Source§

fn from(err: ConfirmForgotPasswordError) -> Self

Converts to this type from the input type.
Source§

impl From<ConfirmSignUpError> for Error

Source§

fn from(err: ConfirmSignUpError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateGroupError> for Error

Source§

fn from(err: CreateGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateIdentityProviderError> for Error

Source§

fn from(err: CreateIdentityProviderError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateManagedLoginBrandingError> for Error

Source§

fn from(err: CreateManagedLoginBrandingError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateResourceServerError> for Error

Source§

fn from(err: CreateResourceServerError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateTermsError> for Error

Source§

fn from(err: CreateTermsError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUserImportJobError> for Error

Source§

fn from(err: CreateUserImportJobError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUserPoolClientError> for Error

Source§

fn from(err: CreateUserPoolClientError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUserPoolDomainError> for Error

Source§

fn from(err: CreateUserPoolDomainError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUserPoolError> for Error

Source§

fn from(err: CreateUserPoolError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteGroupError> for Error

Source§

fn from(err: DeleteGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteIdentityProviderError> for Error

Source§

fn from(err: DeleteIdentityProviderError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteManagedLoginBrandingError> for Error

Source§

fn from(err: DeleteManagedLoginBrandingError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteResourceServerError> for Error

Source§

fn from(err: DeleteResourceServerError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteTermsError> for Error

Source§

fn from(err: DeleteTermsError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteUserAttributesError> for Error

Source§

fn from(err: DeleteUserAttributesError) -> 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<DeleteUserPoolClientError> for Error

Source§

fn from(err: DeleteUserPoolClientError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteUserPoolDomainError> for Error

Source§

fn from(err: DeleteUserPoolDomainError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteUserPoolError> for Error

Source§

fn from(err: DeleteUserPoolError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteWebAuthnCredentialError> for Error

Source§

fn from(err: DeleteWebAuthnCredentialError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeIdentityProviderError> for Error

Source§

fn from(err: DescribeIdentityProviderError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeManagedLoginBrandingByClientError> for Error

Source§

fn from(err: DescribeManagedLoginBrandingByClientError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeManagedLoginBrandingError> for Error

Source§

fn from(err: DescribeManagedLoginBrandingError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeResourceServerError> for Error

Source§

fn from(err: DescribeResourceServerError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeRiskConfigurationError> for Error

Source§

fn from(err: DescribeRiskConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeTermsError> for Error

Source§

fn from(err: DescribeTermsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUserImportJobError> for Error

Source§

fn from(err: DescribeUserImportJobError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUserPoolClientError> for Error

Source§

fn from(err: DescribeUserPoolClientError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUserPoolDomainError> for Error

Source§

fn from(err: DescribeUserPoolDomainError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUserPoolError> for Error

Source§

fn from(err: DescribeUserPoolError) -> Self

Converts to this type from the input type.
Source§

impl From<ForgetDeviceError> for Error

Source§

fn from(err: ForgetDeviceError) -> Self

Converts to this type from the input type.
Source§

impl From<ForgotPasswordError> for Error

Source§

fn from(err: ForgotPasswordError) -> Self

Converts to this type from the input type.
Source§

impl From<GetCSVHeaderError> for Error

Source§

fn from(err: GetCSVHeaderError) -> Self

Converts to this type from the input type.
Source§

impl From<GetDeviceError> for Error

Source§

fn from(err: GetDeviceError) -> Self

Converts to this type from the input type.
Source§

impl From<GetGroupError> for Error

Source§

fn from(err: GetGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GetIdentityProviderByIdentifierError> for Error

Source§

fn from(err: GetIdentityProviderByIdentifierError) -> Self

Converts to this type from the input type.
Source§

impl From<GetLogDeliveryConfigurationError> for Error

Source§

fn from(err: GetLogDeliveryConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<GetSigningCertificateError> for Error

Source§

fn from(err: GetSigningCertificateError) -> Self

Converts to this type from the input type.
Source§

impl From<GetTokensFromRefreshTokenError> for Error

Source§

fn from(err: GetTokensFromRefreshTokenError) -> Self

Converts to this type from the input type.
Source§

impl From<GetUICustomizationError> for Error

Source§

fn from(err: GetUICustomizationError) -> Self

Converts to this type from the input type.
Source§

impl From<GetUserAttributeVerificationCodeError> for Error

Source§

fn from(err: GetUserAttributeVerificationCodeError) -> Self

Converts to this type from the input type.
Source§

impl From<GetUserAuthFactorsError> for Error

Source§

fn from(err: GetUserAuthFactorsError) -> Self

Converts to this type from the input type.
Source§

impl From<GetUserError> for Error

Source§

fn from(err: GetUserError) -> Self

Converts to this type from the input type.
Source§

impl From<GetUserPoolMfaConfigError> for Error

Source§

fn from(err: GetUserPoolMfaConfigError) -> Self

Converts to this type from the input type.
Source§

impl From<GlobalSignOutError> for Error

Source§

fn from(err: GlobalSignOutError) -> Self

Converts to this type from the input type.
Source§

impl From<InitiateAuthError> for Error

Source§

fn from(err: InitiateAuthError) -> Self

Converts to this type from the input type.
Source§

impl From<ListDevicesError> for Error

Source§

fn from(err: ListDevicesError) -> Self

Converts to this type from the input type.
Source§

impl From<ListGroupsError> for Error

Source§

fn from(err: ListGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListIdentityProvidersError> for Error

Source§

fn from(err: ListIdentityProvidersError) -> Self

Converts to this type from the input type.
Source§

impl From<ListResourceServersError> for Error

Source§

fn from(err: ListResourceServersError) -> 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<ListTermsError> for Error

Source§

fn from(err: ListTermsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListUserImportJobsError> for Error

Source§

fn from(err: ListUserImportJobsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListUserPoolClientsError> for Error

Source§

fn from(err: ListUserPoolClientsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListUserPoolsError> for Error

Source§

fn from(err: ListUserPoolsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListUsersError> for Error

Source§

fn from(err: ListUsersError) -> Self

Converts to this type from the input type.
Source§

impl From<ListUsersInGroupError> for Error

Source§

fn from(err: ListUsersInGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ListWebAuthnCredentialsError> for Error

Source§

fn from(err: ListWebAuthnCredentialsError) -> Self

Converts to this type from the input type.
Source§

impl From<ResendConfirmationCodeError> for Error

Source§

fn from(err: ResendConfirmationCodeError) -> Self

Converts to this type from the input type.
Source§

impl From<RespondToAuthChallengeError> for Error

Source§

fn from(err: RespondToAuthChallengeError) -> Self

Converts to this type from the input type.
Source§

impl From<RevokeTokenError> for Error

Source§

fn from(err: RevokeTokenError) -> Self

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

fn from(err: SdkError<DeleteUserAttributesError, 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<DeleteUserPoolClientError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

fn from(err: SdkError<ListResourceServersError, 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<ListTermsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

impl From<SetLogDeliveryConfigurationError> for Error

Source§

fn from(err: SetLogDeliveryConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<SetRiskConfigurationError> for Error

Source§

fn from(err: SetRiskConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<SetUICustomizationError> for Error

Source§

fn from(err: SetUICustomizationError) -> Self

Converts to this type from the input type.
Source§

impl From<SetUserMFAPreferenceError> for Error

Source§

fn from(err: SetUserMFAPreferenceError) -> Self

Converts to this type from the input type.
Source§

impl From<SetUserPoolMfaConfigError> for Error

Source§

fn from(err: SetUserPoolMfaConfigError) -> Self

Converts to this type from the input type.
Source§

impl From<SetUserSettingsError> for Error

Source§

fn from(err: SetUserSettingsError) -> Self

Converts to this type from the input type.
Source§

impl From<SignUpError> for Error

Source§

fn from(err: SignUpError) -> Self

Converts to this type from the input type.
Source§

impl From<StartUserImportJobError> for Error

Source§

fn from(err: StartUserImportJobError) -> Self

Converts to this type from the input type.
Source§

impl From<StartWebAuthnRegistrationError> for Error

Source§

fn from(err: StartWebAuthnRegistrationError) -> Self

Converts to this type from the input type.
Source§

impl From<StopUserImportJobError> for Error

Source§

fn from(err: StopUserImportJobError) -> Self

Converts to this type from the input type.
Source§

impl From<TagResourceError> for Error

Source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<UntagResourceError> for Error

Source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateAuthEventFeedbackError> for Error

Source§

fn from(err: UpdateAuthEventFeedbackError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateDeviceStatusError> for Error

Source§

fn from(err: UpdateDeviceStatusError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateGroupError> for Error

Source§

fn from(err: UpdateGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateIdentityProviderError> for Error

Source§

fn from(err: UpdateIdentityProviderError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateManagedLoginBrandingError> for Error

Source§

fn from(err: UpdateManagedLoginBrandingError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateResourceServerError> for Error

Source§

fn from(err: UpdateResourceServerError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateTermsError> for Error

Source§

fn from(err: UpdateTermsError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateUserAttributesError> for Error

Source§

fn from(err: UpdateUserAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateUserPoolClientError> for Error

Source§

fn from(err: UpdateUserPoolClientError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateUserPoolDomainError> for Error

Source§

fn from(err: UpdateUserPoolDomainError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateUserPoolError> for Error

Source§

fn from(err: UpdateUserPoolError) -> Self

Converts to this type from the input type.
Source§

impl From<VerifySoftwareTokenError> for Error

Source§

fn from(err: VerifySoftwareTokenError) -> Self

Converts to this type from the input type.
Source§

impl From<VerifyUserAttributeError> for Error

Source§

fn from(err: VerifyUserAttributeError) -> 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,