#[non_exhaustive]pub enum Error {
Show 23 variants
DirectoryInUseException(DirectoryInUseException),
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException),
DirectoryUnavailableException(DirectoryUnavailableException),
EmailAddressInUseException(EmailAddressInUseException),
EntityAlreadyRegisteredException(EntityAlreadyRegisteredException),
EntityNotFoundException(EntityNotFoundException),
EntityStateException(EntityStateException),
InvalidConfigurationException(InvalidConfigurationException),
InvalidCustomSesConfigurationException(InvalidCustomSesConfigurationException),
InvalidParameterException(InvalidParameterException),
InvalidPasswordException(InvalidPasswordException),
LimitExceededException(LimitExceededException),
MailDomainInUseException(MailDomainInUseException),
MailDomainNotFoundException(MailDomainNotFoundException),
MailDomainStateException(MailDomainStateException),
NameAvailabilityException(NameAvailabilityException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
ReservedNameException(ReservedNameException),
ResourceNotFoundException(ResourceNotFoundException),
TooManyTagsException(TooManyTagsException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DirectoryInUseException(DirectoryInUseException)
The directory is already in use by another WorkMail organization in the same account and Region.
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException)
The directory service doesn't recognize the credentials supplied by WorkMail.
The directory is unavailable. It might be located in another Region or deleted.
EmailAddressInUseException(EmailAddressInUseException)
The email address that you're trying to assign is already created for a different user, group, or resource.
EntityAlreadyRegisteredException(EntityAlreadyRegisteredException)
The user, group, or resource that you're trying to register is already registered.
EntityNotFoundException(EntityNotFoundException)
The identifier supplied for the user, group, or resource does not exist in your organization.
EntityStateException(EntityStateException)
You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.
InvalidConfigurationException(InvalidConfigurationException)
The configuration for a resource isn't valid. A resource must either be able to auto-respond to requests or have at least one delegate associated that can do so on its behalf.
InvalidCustomSesConfigurationException(InvalidCustomSesConfigurationException)
You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to CreateReceiptRule.
InvalidParameterException(InvalidParameterException)
One or more of the input parameters don't match the service's restrictions.
InvalidPasswordException(InvalidPasswordException)
The supplied password doesn't match the minimum security constraints, such as length or use of special characters.
LimitExceededException(LimitExceededException)
The request exceeds the limit of the resource.
MailDomainInUseException(MailDomainInUseException)
The domain you're trying to change is in use by another user or organization in your account. See the error message for details.
MailDomainNotFoundException(MailDomainNotFoundException)
The domain specified is not found in your organization.
MailDomainStateException(MailDomainStateException)
After a domain has been added to the organization, it must be verified. The domain is not yet verified.
NameAvailabilityException(NameAvailabilityException)
The user, group, or resource name isn't unique in WorkMail.
OrganizationNotFoundException(OrganizationNotFoundException)
An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException(OrganizationStateException)
The organization must have a valid state to perform certain operations on the organization or its members.
ReservedNameException(ReservedNameException)
This user, group, or resource name is not allowed in WorkMail.
ResourceNotFoundException(ResourceNotFoundException)
The resource cannot be found.
TooManyTagsException(TooManyTagsException)
The resource can have up to 50 user-applied tags.
UnsupportedOperationException(UnsupportedOperationException)
You can't perform a write operation against a read-only directory.
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<AssociateDelegateToResourceError> for Error
impl From<AssociateDelegateToResourceError> for Error
Source§fn from(err: AssociateDelegateToResourceError) -> Self
fn from(err: AssociateDelegateToResourceError) -> Self
Source§impl From<AssociateMemberToGroupError> for Error
impl From<AssociateMemberToGroupError> for Error
Source§fn from(err: AssociateMemberToGroupError) -> Self
fn from(err: AssociateMemberToGroupError) -> Self
Source§impl From<AssumeImpersonationRoleError> for Error
impl From<AssumeImpersonationRoleError> for Error
Source§fn from(err: AssumeImpersonationRoleError) -> Self
fn from(err: AssumeImpersonationRoleError) -> 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<CancelMailboxExportJobError> for Error
impl From<CancelMailboxExportJobError> for Error
Source§fn from(err: CancelMailboxExportJobError) -> Self
fn from(err: CancelMailboxExportJobError) -> Self
Source§impl From<CreateAliasError> for Error
impl From<CreateAliasError> for Error
Source§fn from(err: CreateAliasError) -> Self
fn from(err: CreateAliasError) -> Self
Source§impl From<CreateAvailabilityConfigurationError> for Error
impl From<CreateAvailabilityConfigurationError> for Error
Source§fn from(err: CreateAvailabilityConfigurationError) -> Self
fn from(err: CreateAvailabilityConfigurationError) -> Self
Source§impl From<CreateGroupError> for Error
impl From<CreateGroupError> for Error
Source§fn from(err: CreateGroupError) -> Self
fn from(err: CreateGroupError) -> Self
Source§impl From<CreateIdentityCenterApplicationError> for Error
impl From<CreateIdentityCenterApplicationError> for Error
Source§fn from(err: CreateIdentityCenterApplicationError) -> Self
fn from(err: CreateIdentityCenterApplicationError) -> Self
Source§impl From<CreateImpersonationRoleError> for Error
impl From<CreateImpersonationRoleError> for Error
Source§fn from(err: CreateImpersonationRoleError) -> Self
fn from(err: CreateImpersonationRoleError) -> Self
Source§impl From<CreateMobileDeviceAccessRuleError> for Error
impl From<CreateMobileDeviceAccessRuleError> for Error
Source§fn from(err: CreateMobileDeviceAccessRuleError) -> Self
fn from(err: CreateMobileDeviceAccessRuleError) -> Self
Source§impl From<CreateOrganizationError> for Error
impl From<CreateOrganizationError> for Error
Source§fn from(err: CreateOrganizationError) -> Self
fn from(err: CreateOrganizationError) -> Self
Source§impl From<CreateResourceError> for Error
impl From<CreateResourceError> for Error
Source§fn from(err: CreateResourceError) -> Self
fn from(err: CreateResourceError) -> Self
Source§impl From<CreateUserError> for Error
impl From<CreateUserError> for Error
Source§fn from(err: CreateUserError) -> Self
fn from(err: CreateUserError) -> Self
Source§impl From<DeleteAccessControlRuleError> for Error
impl From<DeleteAccessControlRuleError> for Error
Source§fn from(err: DeleteAccessControlRuleError) -> Self
fn from(err: DeleteAccessControlRuleError) -> Self
Source§impl From<DeleteAliasError> for Error
impl From<DeleteAliasError> for Error
Source§fn from(err: DeleteAliasError) -> Self
fn from(err: DeleteAliasError) -> Self
Source§impl From<DeleteAvailabilityConfigurationError> for Error
impl From<DeleteAvailabilityConfigurationError> for Error
Source§fn from(err: DeleteAvailabilityConfigurationError) -> Self
fn from(err: DeleteAvailabilityConfigurationError) -> Self
Source§impl From<DeleteEmailMonitoringConfigurationError> for Error
impl From<DeleteEmailMonitoringConfigurationError> for Error
Source§fn from(err: DeleteEmailMonitoringConfigurationError) -> Self
fn from(err: DeleteEmailMonitoringConfigurationError) -> Self
Source§impl From<DeleteGroupError> for Error
impl From<DeleteGroupError> for Error
Source§fn from(err: DeleteGroupError) -> Self
fn from(err: DeleteGroupError) -> Self
Source§impl From<DeleteIdentityCenterApplicationError> for Error
impl From<DeleteIdentityCenterApplicationError> for Error
Source§fn from(err: DeleteIdentityCenterApplicationError) -> Self
fn from(err: DeleteIdentityCenterApplicationError) -> Self
Source§impl From<DeleteIdentityProviderConfigurationError> for Error
impl From<DeleteIdentityProviderConfigurationError> for Error
Source§fn from(err: DeleteIdentityProviderConfigurationError) -> Self
fn from(err: DeleteIdentityProviderConfigurationError) -> Self
Source§impl From<DeleteImpersonationRoleError> for Error
impl From<DeleteImpersonationRoleError> for Error
Source§fn from(err: DeleteImpersonationRoleError) -> Self
fn from(err: DeleteImpersonationRoleError) -> Self
Source§impl From<DeleteMailboxPermissionsError> for Error
impl From<DeleteMailboxPermissionsError> for Error
Source§fn from(err: DeleteMailboxPermissionsError) -> Self
fn from(err: DeleteMailboxPermissionsError) -> Self
Source§impl From<DeleteMobileDeviceAccessOverrideError> for Error
impl From<DeleteMobileDeviceAccessOverrideError> for Error
Source§fn from(err: DeleteMobileDeviceAccessOverrideError) -> Self
fn from(err: DeleteMobileDeviceAccessOverrideError) -> Self
Source§impl From<DeleteMobileDeviceAccessRuleError> for Error
impl From<DeleteMobileDeviceAccessRuleError> for Error
Source§fn from(err: DeleteMobileDeviceAccessRuleError) -> Self
fn from(err: DeleteMobileDeviceAccessRuleError) -> Self
Source§impl From<DeleteOrganizationError> for Error
impl From<DeleteOrganizationError> for Error
Source§fn from(err: DeleteOrganizationError) -> Self
fn from(err: DeleteOrganizationError) -> Self
Source§impl From<DeletePersonalAccessTokenError> for Error
impl From<DeletePersonalAccessTokenError> for Error
Source§fn from(err: DeletePersonalAccessTokenError) -> Self
fn from(err: DeletePersonalAccessTokenError) -> Self
Source§impl From<DeleteResourceError> for Error
impl From<DeleteResourceError> for Error
Source§fn from(err: DeleteResourceError) -> Self
fn from(err: DeleteResourceError) -> Self
Source§impl From<DeleteRetentionPolicyError> for Error
impl From<DeleteRetentionPolicyError> for Error
Source§fn from(err: DeleteRetentionPolicyError) -> Self
fn from(err: DeleteRetentionPolicyError) -> Self
Source§impl From<DeleteUserError> for Error
impl From<DeleteUserError> for Error
Source§fn from(err: DeleteUserError) -> Self
fn from(err: DeleteUserError) -> Self
Source§impl From<DeregisterFromWorkMailError> for Error
impl From<DeregisterFromWorkMailError> for Error
Source§fn from(err: DeregisterFromWorkMailError) -> Self
fn from(err: DeregisterFromWorkMailError) -> Self
Source§impl From<DeregisterMailDomainError> for Error
impl From<DeregisterMailDomainError> for Error
Source§fn from(err: DeregisterMailDomainError) -> Self
fn from(err: DeregisterMailDomainError) -> Self
Source§impl From<DescribeEmailMonitoringConfigurationError> for Error
impl From<DescribeEmailMonitoringConfigurationError> for Error
Source§fn from(err: DescribeEmailMonitoringConfigurationError) -> Self
fn from(err: DescribeEmailMonitoringConfigurationError) -> Self
Source§impl From<DescribeEntityError> for Error
impl From<DescribeEntityError> for Error
Source§fn from(err: DescribeEntityError) -> Self
fn from(err: DescribeEntityError) -> Self
Source§impl From<DescribeGroupError> for Error
impl From<DescribeGroupError> for Error
Source§fn from(err: DescribeGroupError) -> Self
fn from(err: DescribeGroupError) -> Self
Source§impl From<DescribeIdentityProviderConfigurationError> for Error
impl From<DescribeIdentityProviderConfigurationError> for Error
Source§fn from(err: DescribeIdentityProviderConfigurationError) -> Self
fn from(err: DescribeIdentityProviderConfigurationError) -> Self
Source§impl From<DescribeInboundDmarcSettingsError> for Error
impl From<DescribeInboundDmarcSettingsError> for Error
Source§fn from(err: DescribeInboundDmarcSettingsError) -> Self
fn from(err: DescribeInboundDmarcSettingsError) -> Self
Source§impl From<DescribeMailboxExportJobError> for Error
impl From<DescribeMailboxExportJobError> for Error
Source§fn from(err: DescribeMailboxExportJobError) -> Self
fn from(err: DescribeMailboxExportJobError) -> Self
Source§impl From<DescribeOrganizationError> for Error
impl From<DescribeOrganizationError> for Error
Source§fn from(err: DescribeOrganizationError) -> Self
fn from(err: DescribeOrganizationError) -> Self
Source§impl From<DescribeResourceError> for Error
impl From<DescribeResourceError> for Error
Source§fn from(err: DescribeResourceError) -> Self
fn from(err: DescribeResourceError) -> Self
Source§impl From<DescribeUserError> for Error
impl From<DescribeUserError> for Error
Source§fn from(err: DescribeUserError) -> Self
fn from(err: DescribeUserError) -> Self
Source§impl From<DisassociateDelegateFromResourceError> for Error
impl From<DisassociateDelegateFromResourceError> for Error
Source§fn from(err: DisassociateDelegateFromResourceError) -> Self
fn from(err: DisassociateDelegateFromResourceError) -> Self
Source§impl From<DisassociateMemberFromGroupError> for Error
impl From<DisassociateMemberFromGroupError> for Error
Source§fn from(err: DisassociateMemberFromGroupError) -> Self
fn from(err: DisassociateMemberFromGroupError) -> Self
Source§impl From<GetAccessControlEffectError> for Error
impl From<GetAccessControlEffectError> for Error
Source§fn from(err: GetAccessControlEffectError) -> Self
fn from(err: GetAccessControlEffectError) -> Self
Source§impl From<GetDefaultRetentionPolicyError> for Error
impl From<GetDefaultRetentionPolicyError> for Error
Source§fn from(err: GetDefaultRetentionPolicyError) -> Self
fn from(err: GetDefaultRetentionPolicyError) -> Self
Source§impl From<GetImpersonationRoleEffectError> for Error
impl From<GetImpersonationRoleEffectError> for Error
Source§fn from(err: GetImpersonationRoleEffectError) -> Self
fn from(err: GetImpersonationRoleEffectError) -> Self
Source§impl From<GetImpersonationRoleError> for Error
impl From<GetImpersonationRoleError> for Error
Source§fn from(err: GetImpersonationRoleError) -> Self
fn from(err: GetImpersonationRoleError) -> Self
Source§impl From<GetMailDomainError> for Error
impl From<GetMailDomainError> for Error
Source§fn from(err: GetMailDomainError) -> Self
fn from(err: GetMailDomainError) -> Self
Source§impl From<GetMailboxDetailsError> for Error
impl From<GetMailboxDetailsError> for Error
Source§fn from(err: GetMailboxDetailsError) -> Self
fn from(err: GetMailboxDetailsError) -> Self
Source§impl From<GetMobileDeviceAccessEffectError> for Error
impl From<GetMobileDeviceAccessEffectError> for Error
Source§fn from(err: GetMobileDeviceAccessEffectError) -> Self
fn from(err: GetMobileDeviceAccessEffectError) -> Self
Source§impl From<GetMobileDeviceAccessOverrideError> for Error
impl From<GetMobileDeviceAccessOverrideError> for Error
Source§fn from(err: GetMobileDeviceAccessOverrideError) -> Self
fn from(err: GetMobileDeviceAccessOverrideError) -> Self
Source§impl From<GetPersonalAccessTokenMetadataError> for Error
impl From<GetPersonalAccessTokenMetadataError> for Error
Source§fn from(err: GetPersonalAccessTokenMetadataError) -> Self
fn from(err: GetPersonalAccessTokenMetadataError) -> Self
Source§impl From<ListAccessControlRulesError> for Error
impl From<ListAccessControlRulesError> for Error
Source§fn from(err: ListAccessControlRulesError) -> Self
fn from(err: ListAccessControlRulesError) -> Self
Source§impl From<ListAliasesError> for Error
impl From<ListAliasesError> for Error
Source§fn from(err: ListAliasesError) -> Self
fn from(err: ListAliasesError) -> Self
Source§impl From<ListAvailabilityConfigurationsError> for Error
impl From<ListAvailabilityConfigurationsError> for Error
Source§fn from(err: ListAvailabilityConfigurationsError) -> Self
fn from(err: ListAvailabilityConfigurationsError) -> Self
Source§impl From<ListGroupMembersError> for Error
impl From<ListGroupMembersError> for Error
Source§fn from(err: ListGroupMembersError) -> Self
fn from(err: ListGroupMembersError) -> Self
Source§impl From<ListGroupsError> for Error
impl From<ListGroupsError> for Error
Source§fn from(err: ListGroupsError) -> Self
fn from(err: ListGroupsError) -> Self
Source§impl From<ListGroupsForEntityError> for Error
impl From<ListGroupsForEntityError> for Error
Source§fn from(err: ListGroupsForEntityError) -> Self
fn from(err: ListGroupsForEntityError) -> Self
Source§impl From<ListImpersonationRolesError> for Error
impl From<ListImpersonationRolesError> for Error
Source§fn from(err: ListImpersonationRolesError) -> Self
fn from(err: ListImpersonationRolesError) -> Self
Source§impl From<ListMailDomainsError> for Error
impl From<ListMailDomainsError> for Error
Source§fn from(err: ListMailDomainsError) -> Self
fn from(err: ListMailDomainsError) -> Self
Source§impl From<ListMailboxExportJobsError> for Error
impl From<ListMailboxExportJobsError> for Error
Source§fn from(err: ListMailboxExportJobsError) -> Self
fn from(err: ListMailboxExportJobsError) -> Self
Source§impl From<ListMailboxPermissionsError> for Error
impl From<ListMailboxPermissionsError> for Error
Source§fn from(err: ListMailboxPermissionsError) -> Self
fn from(err: ListMailboxPermissionsError) -> Self
Source§impl From<ListMobileDeviceAccessOverridesError> for Error
impl From<ListMobileDeviceAccessOverridesError> for Error
Source§fn from(err: ListMobileDeviceAccessOverridesError) -> Self
fn from(err: ListMobileDeviceAccessOverridesError) -> Self
Source§impl From<ListMobileDeviceAccessRulesError> for Error
impl From<ListMobileDeviceAccessRulesError> for Error
Source§fn from(err: ListMobileDeviceAccessRulesError) -> Self
fn from(err: ListMobileDeviceAccessRulesError) -> Self
Source§impl From<ListOrganizationsError> for Error
impl From<ListOrganizationsError> for Error
Source§fn from(err: ListOrganizationsError) -> Self
fn from(err: ListOrganizationsError) -> Self
Source§impl From<ListPersonalAccessTokensError> for Error
impl From<ListPersonalAccessTokensError> for Error
Source§fn from(err: ListPersonalAccessTokensError) -> Self
fn from(err: ListPersonalAccessTokensError) -> Self
Source§impl From<ListResourceDelegatesError> for Error
impl From<ListResourceDelegatesError> for Error
Source§fn from(err: ListResourceDelegatesError) -> Self
fn from(err: ListResourceDelegatesError) -> Self
Source§impl From<ListResourcesError> for Error
impl From<ListResourcesError> for Error
Source§fn from(err: ListResourcesError) -> Self
fn from(err: ListResourcesError) -> 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<ListUsersError> for Error
impl From<ListUsersError> for Error
Source§fn from(err: ListUsersError) -> Self
fn from(err: ListUsersError) -> Self
Source§impl From<PutAccessControlRuleError> for Error
impl From<PutAccessControlRuleError> for Error
Source§fn from(err: PutAccessControlRuleError) -> Self
fn from(err: PutAccessControlRuleError) -> Self
Source§impl From<PutEmailMonitoringConfigurationError> for Error
impl From<PutEmailMonitoringConfigurationError> for Error
Source§fn from(err: PutEmailMonitoringConfigurationError) -> Self
fn from(err: PutEmailMonitoringConfigurationError) -> Self
Source§impl From<PutIdentityProviderConfigurationError> for Error
impl From<PutIdentityProviderConfigurationError> for Error
Source§fn from(err: PutIdentityProviderConfigurationError) -> Self
fn from(err: PutIdentityProviderConfigurationError) -> Self
Source§impl From<PutInboundDmarcSettingsError> for Error
impl From<PutInboundDmarcSettingsError> for Error
Source§fn from(err: PutInboundDmarcSettingsError) -> Self
fn from(err: PutInboundDmarcSettingsError) -> Self
Source§impl From<PutMailboxPermissionsError> for Error
impl From<PutMailboxPermissionsError> for Error
Source§fn from(err: PutMailboxPermissionsError) -> Self
fn from(err: PutMailboxPermissionsError) -> Self
Source§impl From<PutMobileDeviceAccessOverrideError> for Error
impl From<PutMobileDeviceAccessOverrideError> for Error
Source§fn from(err: PutMobileDeviceAccessOverrideError) -> Self
fn from(err: PutMobileDeviceAccessOverrideError) -> Self
Source§impl From<PutRetentionPolicyError> for Error
impl From<PutRetentionPolicyError> for Error
Source§fn from(err: PutRetentionPolicyError) -> Self
fn from(err: PutRetentionPolicyError) -> Self
Source§impl From<RegisterMailDomainError> for Error
impl From<RegisterMailDomainError> for Error
Source§fn from(err: RegisterMailDomainError) -> Self
fn from(err: RegisterMailDomainError) -> Self
Source§impl From<RegisterToWorkMailError> for Error
impl From<RegisterToWorkMailError> for Error
Source§fn from(err: RegisterToWorkMailError) -> Self
fn from(err: RegisterToWorkMailError) -> Self
Source§impl From<ResetPasswordError> for Error
impl From<ResetPasswordError> for Error
Source§fn from(err: ResetPasswordError) -> Self
fn from(err: ResetPasswordError) -> Self
Source§impl<R> From<SdkError<AssociateDelegateToResourceError, R>> for Error
impl<R> From<SdkError<AssociateDelegateToResourceError, R>> for Error
Source§fn from(err: SdkError<AssociateDelegateToResourceError, R>) -> Self
fn from(err: SdkError<AssociateDelegateToResourceError, R>) -> Self
Source§impl<R> From<SdkError<AssociateMemberToGroupError, R>> for Error
impl<R> From<SdkError<AssociateMemberToGroupError, R>> for Error
Source§fn from(err: SdkError<AssociateMemberToGroupError, R>) -> Self
fn from(err: SdkError<AssociateMemberToGroupError, R>) -> Self
Source§impl<R> From<SdkError<AssumeImpersonationRoleError, R>> for Error
impl<R> From<SdkError<AssumeImpersonationRoleError, R>> for Error
Source§fn from(err: SdkError<AssumeImpersonationRoleError, R>) -> Self
fn from(err: SdkError<AssumeImpersonationRoleError, R>) -> Self
Source§impl<R> From<SdkError<CancelMailboxExportJobError, R>> for Error
impl<R> From<SdkError<CancelMailboxExportJobError, R>> for Error
Source§fn from(err: SdkError<CancelMailboxExportJobError, R>) -> Self
fn from(err: SdkError<CancelMailboxExportJobError, R>) -> Self
Source§impl<R> From<SdkError<CreateAliasError, R>> for Error
impl<R> From<SdkError<CreateAliasError, R>> for Error
Source§fn from(err: SdkError<CreateAliasError, R>) -> Self
fn from(err: SdkError<CreateAliasError, R>) -> Self
Source§impl<R> From<SdkError<CreateAvailabilityConfigurationError, R>> for Error
impl<R> From<SdkError<CreateAvailabilityConfigurationError, R>> for Error
Source§fn from(err: SdkError<CreateAvailabilityConfigurationError, R>) -> Self
fn from(err: SdkError<CreateAvailabilityConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<CreateGroupError, R>> for Error
impl<R> From<SdkError<CreateGroupError, R>> for Error
Source§fn from(err: SdkError<CreateGroupError, R>) -> Self
fn from(err: SdkError<CreateGroupError, R>) -> Self
Source§impl<R> From<SdkError<CreateIdentityCenterApplicationError, R>> for Error
impl<R> From<SdkError<CreateIdentityCenterApplicationError, R>> for Error
Source§fn from(err: SdkError<CreateIdentityCenterApplicationError, R>) -> Self
fn from(err: SdkError<CreateIdentityCenterApplicationError, R>) -> Self
Source§impl<R> From<SdkError<CreateImpersonationRoleError, R>> for Error
impl<R> From<SdkError<CreateImpersonationRoleError, R>> for Error
Source§fn from(err: SdkError<CreateImpersonationRoleError, R>) -> Self
fn from(err: SdkError<CreateImpersonationRoleError, R>) -> Self
Source§impl<R> From<SdkError<CreateMobileDeviceAccessRuleError, R>> for Error
impl<R> From<SdkError<CreateMobileDeviceAccessRuleError, R>> for Error
Source§fn from(err: SdkError<CreateMobileDeviceAccessRuleError, R>) -> Self
fn from(err: SdkError<CreateMobileDeviceAccessRuleError, R>) -> Self
Source§impl<R> From<SdkError<CreateOrganizationError, R>> for Error
impl<R> From<SdkError<CreateOrganizationError, R>> for Error
Source§fn from(err: SdkError<CreateOrganizationError, R>) -> Self
fn from(err: SdkError<CreateOrganizationError, R>) -> Self
Source§impl<R> From<SdkError<CreateResourceError, R>> for Error
impl<R> From<SdkError<CreateResourceError, R>> for Error
Source§fn from(err: SdkError<CreateResourceError, R>) -> Self
fn from(err: SdkError<CreateResourceError, R>) -> Self
Source§impl<R> From<SdkError<CreateUserError, R>> for Error
impl<R> From<SdkError<CreateUserError, R>> for Error
Source§fn from(err: SdkError<CreateUserError, R>) -> Self
fn from(err: SdkError<CreateUserError, R>) -> Self
Source§impl<R> From<SdkError<DeleteAccessControlRuleError, R>> for Error
impl<R> From<SdkError<DeleteAccessControlRuleError, R>> for Error
Source§fn from(err: SdkError<DeleteAccessControlRuleError, R>) -> Self
fn from(err: SdkError<DeleteAccessControlRuleError, R>) -> Self
Source§impl<R> From<SdkError<DeleteAliasError, R>> for Error
impl<R> From<SdkError<DeleteAliasError, R>> for Error
Source§fn from(err: SdkError<DeleteAliasError, R>) -> Self
fn from(err: SdkError<DeleteAliasError, R>) -> Self
Source§impl<R> From<SdkError<DeleteAvailabilityConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteAvailabilityConfigurationError, R>> for Error
Source§fn from(err: SdkError<DeleteAvailabilityConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteAvailabilityConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteEmailMonitoringConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteEmailMonitoringConfigurationError, R>> for Error
Source§fn from(err: SdkError<DeleteEmailMonitoringConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteEmailMonitoringConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteGroupError, R>> for Error
impl<R> From<SdkError<DeleteGroupError, R>> for Error
Source§fn from(err: SdkError<DeleteGroupError, R>) -> Self
fn from(err: SdkError<DeleteGroupError, R>) -> Self
Source§impl<R> From<SdkError<DeleteIdentityCenterApplicationError, R>> for Error
impl<R> From<SdkError<DeleteIdentityCenterApplicationError, R>> for Error
Source§fn from(err: SdkError<DeleteIdentityCenterApplicationError, R>) -> Self
fn from(err: SdkError<DeleteIdentityCenterApplicationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteIdentityProviderConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteIdentityProviderConfigurationError, R>> for Error
Source§fn from(err: SdkError<DeleteIdentityProviderConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteIdentityProviderConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteImpersonationRoleError, R>> for Error
impl<R> From<SdkError<DeleteImpersonationRoleError, R>> for Error
Source§fn from(err: SdkError<DeleteImpersonationRoleError, R>) -> Self
fn from(err: SdkError<DeleteImpersonationRoleError, R>) -> Self
Source§impl<R> From<SdkError<DeleteMailboxPermissionsError, R>> for Error
impl<R> From<SdkError<DeleteMailboxPermissionsError, R>> for Error
Source§fn from(err: SdkError<DeleteMailboxPermissionsError, R>) -> Self
fn from(err: SdkError<DeleteMailboxPermissionsError, R>) -> Self
Source§impl<R> From<SdkError<DeleteMobileDeviceAccessOverrideError, R>> for Error
impl<R> From<SdkError<DeleteMobileDeviceAccessOverrideError, R>> for Error
Source§fn from(err: SdkError<DeleteMobileDeviceAccessOverrideError, R>) -> Self
fn from(err: SdkError<DeleteMobileDeviceAccessOverrideError, R>) -> Self
Source§impl<R> From<SdkError<DeleteMobileDeviceAccessRuleError, R>> for Error
impl<R> From<SdkError<DeleteMobileDeviceAccessRuleError, R>> for Error
Source§fn from(err: SdkError<DeleteMobileDeviceAccessRuleError, R>) -> Self
fn from(err: SdkError<DeleteMobileDeviceAccessRuleError, R>) -> Self
Source§impl<R> From<SdkError<DeleteOrganizationError, R>> for Error
impl<R> From<SdkError<DeleteOrganizationError, R>> for Error
Source§fn from(err: SdkError<DeleteOrganizationError, R>) -> Self
fn from(err: SdkError<DeleteOrganizationError, R>) -> Self
Source§impl<R> From<SdkError<DeletePersonalAccessTokenError, R>> for Error
impl<R> From<SdkError<DeletePersonalAccessTokenError, R>> for Error
Source§fn from(err: SdkError<DeletePersonalAccessTokenError, R>) -> Self
fn from(err: SdkError<DeletePersonalAccessTokenError, R>) -> Self
Source§impl<R> From<SdkError<DeleteResourceError, R>> for Error
impl<R> From<SdkError<DeleteResourceError, R>> for Error
Source§fn from(err: SdkError<DeleteResourceError, R>) -> Self
fn from(err: SdkError<DeleteResourceError, R>) -> Self
Source§impl<R> From<SdkError<DeleteRetentionPolicyError, R>> for Error
impl<R> From<SdkError<DeleteRetentionPolicyError, R>> for Error
Source§fn from(err: SdkError<DeleteRetentionPolicyError, R>) -> Self
fn from(err: SdkError<DeleteRetentionPolicyError, R>) -> Self
Source§impl<R> From<SdkError<DeleteUserError, R>> for Error
impl<R> From<SdkError<DeleteUserError, R>> for Error
Source§fn from(err: SdkError<DeleteUserError, R>) -> Self
fn from(err: SdkError<DeleteUserError, R>) -> Self
Source§impl<R> From<SdkError<DeregisterFromWorkMailError, R>> for Error
impl<R> From<SdkError<DeregisterFromWorkMailError, R>> for Error
Source§fn from(err: SdkError<DeregisterFromWorkMailError, R>) -> Self
fn from(err: SdkError<DeregisterFromWorkMailError, R>) -> Self
Source§impl<R> From<SdkError<DeregisterMailDomainError, R>> for Error
impl<R> From<SdkError<DeregisterMailDomainError, R>> for Error
Source§fn from(err: SdkError<DeregisterMailDomainError, R>) -> Self
fn from(err: SdkError<DeregisterMailDomainError, R>) -> Self
Source§impl<R> From<SdkError<DescribeEmailMonitoringConfigurationError, R>> for Error
impl<R> From<SdkError<DescribeEmailMonitoringConfigurationError, R>> for Error
Source§fn from(err: SdkError<DescribeEmailMonitoringConfigurationError, R>) -> Self
fn from(err: SdkError<DescribeEmailMonitoringConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DescribeEntityError, R>> for Error
impl<R> From<SdkError<DescribeEntityError, R>> for Error
Source§fn from(err: SdkError<DescribeEntityError, R>) -> Self
fn from(err: SdkError<DescribeEntityError, R>) -> Self
Source§impl<R> From<SdkError<DescribeGroupError, R>> for Error
impl<R> From<SdkError<DescribeGroupError, R>> for Error
Source§fn from(err: SdkError<DescribeGroupError, R>) -> Self
fn from(err: SdkError<DescribeGroupError, R>) -> Self
Source§impl<R> From<SdkError<DescribeIdentityProviderConfigurationError, R>> for Error
impl<R> From<SdkError<DescribeIdentityProviderConfigurationError, R>> for Error
Source§fn from(err: SdkError<DescribeIdentityProviderConfigurationError, R>) -> Self
fn from(err: SdkError<DescribeIdentityProviderConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DescribeInboundDmarcSettingsError, R>> for Error
impl<R> From<SdkError<DescribeInboundDmarcSettingsError, R>> for Error
Source§fn from(err: SdkError<DescribeInboundDmarcSettingsError, R>) -> Self
fn from(err: SdkError<DescribeInboundDmarcSettingsError, R>) -> Self
Source§impl<R> From<SdkError<DescribeMailboxExportJobError, R>> for Error
impl<R> From<SdkError<DescribeMailboxExportJobError, R>> for Error
Source§fn from(err: SdkError<DescribeMailboxExportJobError, R>) -> Self
fn from(err: SdkError<DescribeMailboxExportJobError, R>) -> Self
Source§impl<R> From<SdkError<DescribeOrganizationError, R>> for Error
impl<R> From<SdkError<DescribeOrganizationError, R>> for Error
Source§fn from(err: SdkError<DescribeOrganizationError, R>) -> Self
fn from(err: SdkError<DescribeOrganizationError, R>) -> Self
Source§impl<R> From<SdkError<DescribeResourceError, R>> for Error
impl<R> From<SdkError<DescribeResourceError, R>> for Error
Source§fn from(err: SdkError<DescribeResourceError, R>) -> Self
fn from(err: SdkError<DescribeResourceError, R>) -> Self
Source§impl<R> From<SdkError<DescribeUserError, R>> for Error
impl<R> From<SdkError<DescribeUserError, R>> for Error
Source§fn from(err: SdkError<DescribeUserError, R>) -> Self
fn from(err: SdkError<DescribeUserError, R>) -> Self
Source§impl<R> From<SdkError<DisassociateDelegateFromResourceError, R>> for Error
impl<R> From<SdkError<DisassociateDelegateFromResourceError, R>> for Error
Source§fn from(err: SdkError<DisassociateDelegateFromResourceError, R>) -> Self
fn from(err: SdkError<DisassociateDelegateFromResourceError, R>) -> Self
Source§impl<R> From<SdkError<DisassociateMemberFromGroupError, R>> for Error
impl<R> From<SdkError<DisassociateMemberFromGroupError, R>> for Error
Source§fn from(err: SdkError<DisassociateMemberFromGroupError, R>) -> Self
fn from(err: SdkError<DisassociateMemberFromGroupError, R>) -> Self
Source§impl<R> From<SdkError<GetAccessControlEffectError, R>> for Error
impl<R> From<SdkError<GetAccessControlEffectError, R>> for Error
Source§fn from(err: SdkError<GetAccessControlEffectError, R>) -> Self
fn from(err: SdkError<GetAccessControlEffectError, R>) -> Self
Source§impl<R> From<SdkError<GetDefaultRetentionPolicyError, R>> for Error
impl<R> From<SdkError<GetDefaultRetentionPolicyError, R>> for Error
Source§fn from(err: SdkError<GetDefaultRetentionPolicyError, R>) -> Self
fn from(err: SdkError<GetDefaultRetentionPolicyError, R>) -> Self
Source§impl<R> From<SdkError<GetImpersonationRoleEffectError, R>> for Error
impl<R> From<SdkError<GetImpersonationRoleEffectError, R>> for Error
Source§fn from(err: SdkError<GetImpersonationRoleEffectError, R>) -> Self
fn from(err: SdkError<GetImpersonationRoleEffectError, R>) -> Self
Source§impl<R> From<SdkError<GetImpersonationRoleError, R>> for Error
impl<R> From<SdkError<GetImpersonationRoleError, R>> for Error
Source§fn from(err: SdkError<GetImpersonationRoleError, R>) -> Self
fn from(err: SdkError<GetImpersonationRoleError, R>) -> Self
Source§impl<R> From<SdkError<GetMailDomainError, R>> for Error
impl<R> From<SdkError<GetMailDomainError, R>> for Error
Source§fn from(err: SdkError<GetMailDomainError, R>) -> Self
fn from(err: SdkError<GetMailDomainError, R>) -> Self
Source§impl<R> From<SdkError<GetMailboxDetailsError, R>> for Error
impl<R> From<SdkError<GetMailboxDetailsError, R>> for Error
Source§fn from(err: SdkError<GetMailboxDetailsError, R>) -> Self
fn from(err: SdkError<GetMailboxDetailsError, R>) -> Self
Source§impl<R> From<SdkError<GetMobileDeviceAccessEffectError, R>> for Error
impl<R> From<SdkError<GetMobileDeviceAccessEffectError, R>> for Error
Source§fn from(err: SdkError<GetMobileDeviceAccessEffectError, R>) -> Self
fn from(err: SdkError<GetMobileDeviceAccessEffectError, R>) -> Self
Source§impl<R> From<SdkError<GetMobileDeviceAccessOverrideError, R>> for Error
impl<R> From<SdkError<GetMobileDeviceAccessOverrideError, R>> for Error
Source§fn from(err: SdkError<GetMobileDeviceAccessOverrideError, R>) -> Self
fn from(err: SdkError<GetMobileDeviceAccessOverrideError, R>) -> Self
Source§impl<R> From<SdkError<GetPersonalAccessTokenMetadataError, R>> for Error
impl<R> From<SdkError<GetPersonalAccessTokenMetadataError, R>> for Error
Source§fn from(err: SdkError<GetPersonalAccessTokenMetadataError, R>) -> Self
fn from(err: SdkError<GetPersonalAccessTokenMetadataError, R>) -> Self
Source§impl<R> From<SdkError<ListAccessControlRulesError, R>> for Error
impl<R> From<SdkError<ListAccessControlRulesError, R>> for Error
Source§fn from(err: SdkError<ListAccessControlRulesError, R>) -> Self
fn from(err: SdkError<ListAccessControlRulesError, R>) -> Self
Source§impl<R> From<SdkError<ListAliasesError, R>> for Error
impl<R> From<SdkError<ListAliasesError, R>> for Error
Source§fn from(err: SdkError<ListAliasesError, R>) -> Self
fn from(err: SdkError<ListAliasesError, R>) -> Self
Source§impl<R> From<SdkError<ListAvailabilityConfigurationsError, R>> for Error
impl<R> From<SdkError<ListAvailabilityConfigurationsError, R>> for Error
Source§fn from(err: SdkError<ListAvailabilityConfigurationsError, R>) -> Self
fn from(err: SdkError<ListAvailabilityConfigurationsError, R>) -> Self
Source§impl<R> From<SdkError<ListGroupMembersError, R>> for Error
impl<R> From<SdkError<ListGroupMembersError, R>> for Error
Source§fn from(err: SdkError<ListGroupMembersError, R>) -> Self
fn from(err: SdkError<ListGroupMembersError, R>) -> Self
Source§impl<R> From<SdkError<ListGroupsError, R>> for Error
impl<R> From<SdkError<ListGroupsError, R>> for Error
Source§fn from(err: SdkError<ListGroupsError, R>) -> Self
fn from(err: SdkError<ListGroupsError, R>) -> Self
Source§impl<R> From<SdkError<ListGroupsForEntityError, R>> for Error
impl<R> From<SdkError<ListGroupsForEntityError, R>> for Error
Source§fn from(err: SdkError<ListGroupsForEntityError, R>) -> Self
fn from(err: SdkError<ListGroupsForEntityError, R>) -> Self
Source§impl<R> From<SdkError<ListImpersonationRolesError, R>> for Error
impl<R> From<SdkError<ListImpersonationRolesError, R>> for Error
Source§fn from(err: SdkError<ListImpersonationRolesError, R>) -> Self
fn from(err: SdkError<ListImpersonationRolesError, R>) -> Self
Source§impl<R> From<SdkError<ListMailDomainsError, R>> for Error
impl<R> From<SdkError<ListMailDomainsError, R>> for Error
Source§fn from(err: SdkError<ListMailDomainsError, R>) -> Self
fn from(err: SdkError<ListMailDomainsError, R>) -> Self
Source§impl<R> From<SdkError<ListMailboxExportJobsError, R>> for Error
impl<R> From<SdkError<ListMailboxExportJobsError, R>> for Error
Source§fn from(err: SdkError<ListMailboxExportJobsError, R>) -> Self
fn from(err: SdkError<ListMailboxExportJobsError, R>) -> Self
Source§impl<R> From<SdkError<ListMailboxPermissionsError, R>> for Error
impl<R> From<SdkError<ListMailboxPermissionsError, R>> for Error
Source§fn from(err: SdkError<ListMailboxPermissionsError, R>) -> Self
fn from(err: SdkError<ListMailboxPermissionsError, R>) -> Self
Source§impl<R> From<SdkError<ListMobileDeviceAccessOverridesError, R>> for Error
impl<R> From<SdkError<ListMobileDeviceAccessOverridesError, R>> for Error
Source§fn from(err: SdkError<ListMobileDeviceAccessOverridesError, R>) -> Self
fn from(err: SdkError<ListMobileDeviceAccessOverridesError, R>) -> Self
Source§impl<R> From<SdkError<ListMobileDeviceAccessRulesError, R>> for Error
impl<R> From<SdkError<ListMobileDeviceAccessRulesError, R>> for Error
Source§fn from(err: SdkError<ListMobileDeviceAccessRulesError, R>) -> Self
fn from(err: SdkError<ListMobileDeviceAccessRulesError, R>) -> Self
Source§impl<R> From<SdkError<ListOrganizationsError, R>> for Error
impl<R> From<SdkError<ListOrganizationsError, R>> for Error
Source§fn from(err: SdkError<ListOrganizationsError, R>) -> Self
fn from(err: SdkError<ListOrganizationsError, R>) -> Self
Source§impl<R> From<SdkError<ListPersonalAccessTokensError, R>> for Error
impl<R> From<SdkError<ListPersonalAccessTokensError, R>> for Error
Source§fn from(err: SdkError<ListPersonalAccessTokensError, R>) -> Self
fn from(err: SdkError<ListPersonalAccessTokensError, R>) -> Self
Source§impl<R> From<SdkError<ListResourceDelegatesError, R>> for Error
impl<R> From<SdkError<ListResourceDelegatesError, R>> for Error
Source§fn from(err: SdkError<ListResourceDelegatesError, R>) -> Self
fn from(err: SdkError<ListResourceDelegatesError, R>) -> Self
Source§impl<R> From<SdkError<ListResourcesError, R>> for Error
impl<R> From<SdkError<ListResourcesError, R>> for Error
Source§fn from(err: SdkError<ListResourcesError, R>) -> Self
fn from(err: SdkError<ListResourcesError, 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<ListUsersError, R>> for Error
impl<R> From<SdkError<ListUsersError, R>> for Error
Source§fn from(err: SdkError<ListUsersError, R>) -> Self
fn from(err: SdkError<ListUsersError, R>) -> Self
Source§impl<R> From<SdkError<PutAccessControlRuleError, R>> for Error
impl<R> From<SdkError<PutAccessControlRuleError, R>> for Error
Source§fn from(err: SdkError<PutAccessControlRuleError, R>) -> Self
fn from(err: SdkError<PutAccessControlRuleError, R>) -> Self
Source§impl<R> From<SdkError<PutEmailMonitoringConfigurationError, R>> for Error
impl<R> From<SdkError<PutEmailMonitoringConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutEmailMonitoringConfigurationError, R>) -> Self
fn from(err: SdkError<PutEmailMonitoringConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutIdentityProviderConfigurationError, R>> for Error
impl<R> From<SdkError<PutIdentityProviderConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutIdentityProviderConfigurationError, R>) -> Self
fn from(err: SdkError<PutIdentityProviderConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutInboundDmarcSettingsError, R>> for Error
impl<R> From<SdkError<PutInboundDmarcSettingsError, R>> for Error
Source§fn from(err: SdkError<PutInboundDmarcSettingsError, R>) -> Self
fn from(err: SdkError<PutInboundDmarcSettingsError, R>) -> Self
Source§impl<R> From<SdkError<PutMailboxPermissionsError, R>> for Error
impl<R> From<SdkError<PutMailboxPermissionsError, R>> for Error
Source§fn from(err: SdkError<PutMailboxPermissionsError, R>) -> Self
fn from(err: SdkError<PutMailboxPermissionsError, R>) -> Self
Source§impl<R> From<SdkError<PutMobileDeviceAccessOverrideError, R>> for Error
impl<R> From<SdkError<PutMobileDeviceAccessOverrideError, R>> for Error
Source§fn from(err: SdkError<PutMobileDeviceAccessOverrideError, R>) -> Self
fn from(err: SdkError<PutMobileDeviceAccessOverrideError, R>) -> Self
Source§impl<R> From<SdkError<PutRetentionPolicyError, R>> for Error
impl<R> From<SdkError<PutRetentionPolicyError, R>> for Error
Source§fn from(err: SdkError<PutRetentionPolicyError, R>) -> Self
fn from(err: SdkError<PutRetentionPolicyError, R>) -> Self
Source§impl<R> From<SdkError<RegisterMailDomainError, R>> for Error
impl<R> From<SdkError<RegisterMailDomainError, R>> for Error
Source§fn from(err: SdkError<RegisterMailDomainError, R>) -> Self
fn from(err: SdkError<RegisterMailDomainError, R>) -> Self
Source§impl<R> From<SdkError<RegisterToWorkMailError, R>> for Error
impl<R> From<SdkError<RegisterToWorkMailError, R>> for Error
Source§fn from(err: SdkError<RegisterToWorkMailError, R>) -> Self
fn from(err: SdkError<RegisterToWorkMailError, R>) -> Self
Source§impl<R> From<SdkError<ResetPasswordError, R>> for Error
impl<R> From<SdkError<ResetPasswordError, R>> for Error
Source§fn from(err: SdkError<ResetPasswordError, R>) -> Self
fn from(err: SdkError<ResetPasswordError, R>) -> Self
Source§impl<R> From<SdkError<StartMailboxExportJobError, R>> for Error
impl<R> From<SdkError<StartMailboxExportJobError, R>> for Error
Source§fn from(err: SdkError<StartMailboxExportJobError, R>) -> Self
fn from(err: SdkError<StartMailboxExportJobError, 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<TestAvailabilityConfigurationError, R>> for Error
impl<R> From<SdkError<TestAvailabilityConfigurationError, R>> for Error
Source§fn from(err: SdkError<TestAvailabilityConfigurationError, R>) -> Self
fn from(err: SdkError<TestAvailabilityConfigurationError, 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<UpdateAvailabilityConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateAvailabilityConfigurationError, R>> for Error
Source§fn from(err: SdkError<UpdateAvailabilityConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateAvailabilityConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<UpdateDefaultMailDomainError, R>> for Error
impl<R> From<SdkError<UpdateDefaultMailDomainError, R>> for Error
Source§fn from(err: SdkError<UpdateDefaultMailDomainError, R>) -> Self
fn from(err: SdkError<UpdateDefaultMailDomainError, R>) -> Self
Source§impl<R> From<SdkError<UpdateGroupError, R>> for Error
impl<R> From<SdkError<UpdateGroupError, R>> for Error
Source§fn from(err: SdkError<UpdateGroupError, R>) -> Self
fn from(err: SdkError<UpdateGroupError, R>) -> Self
Source§impl<R> From<SdkError<UpdateImpersonationRoleError, R>> for Error
impl<R> From<SdkError<UpdateImpersonationRoleError, R>> for Error
Source§fn from(err: SdkError<UpdateImpersonationRoleError, R>) -> Self
fn from(err: SdkError<UpdateImpersonationRoleError, R>) -> Self
Source§impl<R> From<SdkError<UpdateMailboxQuotaError, R>> for Error
impl<R> From<SdkError<UpdateMailboxQuotaError, R>> for Error
Source§fn from(err: SdkError<UpdateMailboxQuotaError, R>) -> Self
fn from(err: SdkError<UpdateMailboxQuotaError, R>) -> Self
Source§impl<R> From<SdkError<UpdateMobileDeviceAccessRuleError, R>> for Error
impl<R> From<SdkError<UpdateMobileDeviceAccessRuleError, R>> for Error
Source§fn from(err: SdkError<UpdateMobileDeviceAccessRuleError, R>) -> Self
fn from(err: SdkError<UpdateMobileDeviceAccessRuleError, R>) -> Self
Source§impl<R> From<SdkError<UpdatePrimaryEmailAddressError, R>> for Error
impl<R> From<SdkError<UpdatePrimaryEmailAddressError, R>> for Error
Source§fn from(err: SdkError<UpdatePrimaryEmailAddressError, R>) -> Self
fn from(err: SdkError<UpdatePrimaryEmailAddressError, R>) -> Self
Source§impl<R> From<SdkError<UpdateResourceError, R>> for Error
impl<R> From<SdkError<UpdateResourceError, R>> for Error
Source§fn from(err: SdkError<UpdateResourceError, R>) -> Self
fn from(err: SdkError<UpdateResourceError, R>) -> Self
Source§impl<R> From<SdkError<UpdateUserError, R>> for Error
impl<R> From<SdkError<UpdateUserError, R>> for Error
Source§fn from(err: SdkError<UpdateUserError, R>) -> Self
fn from(err: SdkError<UpdateUserError, R>) -> Self
Source§impl From<StartMailboxExportJobError> for Error
impl From<StartMailboxExportJobError> for Error
Source§fn from(err: StartMailboxExportJobError) -> Self
fn from(err: StartMailboxExportJobError) -> 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<TestAvailabilityConfigurationError> for Error
impl From<TestAvailabilityConfigurationError> for Error
Source§fn from(err: TestAvailabilityConfigurationError) -> Self
fn from(err: TestAvailabilityConfigurationError) -> 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<UpdateAvailabilityConfigurationError> for Error
impl From<UpdateAvailabilityConfigurationError> for Error
Source§fn from(err: UpdateAvailabilityConfigurationError) -> Self
fn from(err: UpdateAvailabilityConfigurationError) -> Self
Source§impl From<UpdateDefaultMailDomainError> for Error
impl From<UpdateDefaultMailDomainError> for Error
Source§fn from(err: UpdateDefaultMailDomainError) -> Self
fn from(err: UpdateDefaultMailDomainError) -> Self
Source§impl From<UpdateGroupError> for Error
impl From<UpdateGroupError> for Error
Source§fn from(err: UpdateGroupError) -> Self
fn from(err: UpdateGroupError) -> Self
Source§impl From<UpdateImpersonationRoleError> for Error
impl From<UpdateImpersonationRoleError> for Error
Source§fn from(err: UpdateImpersonationRoleError) -> Self
fn from(err: UpdateImpersonationRoleError) -> Self
Source§impl From<UpdateMailboxQuotaError> for Error
impl From<UpdateMailboxQuotaError> for Error
Source§fn from(err: UpdateMailboxQuotaError) -> Self
fn from(err: UpdateMailboxQuotaError) -> Self
Source§impl From<UpdateMobileDeviceAccessRuleError> for Error
impl From<UpdateMobileDeviceAccessRuleError> for Error
Source§fn from(err: UpdateMobileDeviceAccessRuleError) -> Self
fn from(err: UpdateMobileDeviceAccessRuleError) -> Self
Source§impl From<UpdatePrimaryEmailAddressError> for Error
impl From<UpdatePrimaryEmailAddressError> for Error
Source§fn from(err: UpdatePrimaryEmailAddressError) -> Self
fn from(err: UpdatePrimaryEmailAddressError) -> Self
Source§impl From<UpdateResourceError> for Error
impl From<UpdateResourceError> for Error
Source§fn from(err: UpdateResourceError) -> Self
fn from(err: UpdateResourceError) -> Self
Source§impl From<UpdateUserError> for Error
impl From<UpdateUserError> for Error
Source§fn from(err: UpdateUserError) -> Self
fn from(err: UpdateUserError) -> 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);