#[non_exhaustive]pub enum Error {
Show 14 variants
BucketAlreadyExists(BucketAlreadyExists),
BucketAlreadyOwnedByYou(BucketAlreadyOwnedByYou),
EncryptionTypeMismatch(EncryptionTypeMismatch),
InvalidObjectState(InvalidObjectState),
InvalidRequest(InvalidRequest),
InvalidWriteOffset(InvalidWriteOffset),
NoSuchBucket(NoSuchBucket),
NoSuchKey(NoSuchKey),
NoSuchUpload(NoSuchUpload),
NotFound(NotFound),
ObjectAlreadyInActiveTierError(ObjectAlreadyInActiveTierError),
ObjectNotInActiveTierError(ObjectNotInActiveTierError),
TooManyParts(TooManyParts),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BucketAlreadyExists(BucketAlreadyExists)
The requested bucket name is not available. The bucket namespace is shared by all users of the system. Select a different name and try again.
BucketAlreadyOwnedByYou(BucketAlreadyOwnedByYou)
The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).
EncryptionTypeMismatch(EncryptionTypeMismatch)
The existing object was created with a different encryption type. Subsequent write requests must include the appropriate encryption parameters in the request or while creating the session.
InvalidObjectState(InvalidObjectState)
Object is archived and inaccessible until restored.
If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an InvalidObjectState
error. For information about restoring archived objects, see Restoring Archived Objects in the Amazon S3 User Guide.
InvalidRequest(InvalidRequest)
You may receive this error in multiple cases. Depending on the reason for the error, you may receive one of the messages below:
-
Cannot specify both a write offset value and user-defined object metadata for existing objects.
-
Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type: crc32c.
-
Request body cannot be empty when 'write offset' is specified.
InvalidWriteOffset(InvalidWriteOffset)
The write offset value that you specified does not match the current object size.
NoSuchBucket(NoSuchBucket)
The specified bucket does not exist.
NoSuchKey(NoSuchKey)
The specified key does not exist.
NoSuchUpload(NoSuchUpload)
The specified multipart upload does not exist.
NotFound(NotFound)
The specified content does not exist.
ObjectAlreadyInActiveTierError(ObjectAlreadyInActiveTierError)
This action is not allowed against this storage tier.
ObjectNotInActiveTierError(ObjectNotInActiveTierError)
The source object of the COPY action is not in the active tier and is only stored in Amazon S3 Glacier.
TooManyParts(TooManyParts)
You have attempted to add more parts than the maximum of 10000 that are allowed for this object. You can use the CopyObject operation to copy this object to another and then add more data to the newly copied object.
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<AbortMultipartUploadError> for Error
impl From<AbortMultipartUploadError> for Error
Source§fn from(err: AbortMultipartUploadError) -> Self
fn from(err: AbortMultipartUploadError) -> 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<CompleteMultipartUploadError> for Error
impl From<CompleteMultipartUploadError> for Error
Source§fn from(err: CompleteMultipartUploadError) -> Self
fn from(err: CompleteMultipartUploadError) -> Self
Source§impl From<CopyObjectError> for Error
impl From<CopyObjectError> for Error
Source§fn from(err: CopyObjectError) -> Self
fn from(err: CopyObjectError) -> Self
Source§impl From<CreateBucketError> for Error
impl From<CreateBucketError> for Error
Source§fn from(err: CreateBucketError) -> Self
fn from(err: CreateBucketError) -> Self
Source§impl From<CreateMultipartUploadError> for Error
impl From<CreateMultipartUploadError> for Error
Source§fn from(err: CreateMultipartUploadError) -> Self
fn from(err: CreateMultipartUploadError) -> Self
Source§impl From<CreateSessionError> for Error
impl From<CreateSessionError> for Error
Source§fn from(err: CreateSessionError) -> Self
fn from(err: CreateSessionError) -> Self
Source§impl From<DeleteBucketAnalyticsConfigurationError> for Error
impl From<DeleteBucketAnalyticsConfigurationError> for Error
Source§fn from(err: DeleteBucketAnalyticsConfigurationError) -> Self
fn from(err: DeleteBucketAnalyticsConfigurationError) -> Self
Source§impl From<DeleteBucketCorsError> for Error
impl From<DeleteBucketCorsError> for Error
Source§fn from(err: DeleteBucketCorsError) -> Self
fn from(err: DeleteBucketCorsError) -> Self
Source§impl From<DeleteBucketEncryptionError> for Error
impl From<DeleteBucketEncryptionError> for Error
Source§fn from(err: DeleteBucketEncryptionError) -> Self
fn from(err: DeleteBucketEncryptionError) -> Self
Source§impl From<DeleteBucketError> for Error
impl From<DeleteBucketError> for Error
Source§fn from(err: DeleteBucketError) -> Self
fn from(err: DeleteBucketError) -> Self
Source§impl From<DeleteBucketIntelligentTieringConfigurationError> for Error
impl From<DeleteBucketIntelligentTieringConfigurationError> for Error
Source§fn from(err: DeleteBucketIntelligentTieringConfigurationError) -> Self
fn from(err: DeleteBucketIntelligentTieringConfigurationError) -> Self
Source§impl From<DeleteBucketInventoryConfigurationError> for Error
impl From<DeleteBucketInventoryConfigurationError> for Error
Source§fn from(err: DeleteBucketInventoryConfigurationError) -> Self
fn from(err: DeleteBucketInventoryConfigurationError) -> Self
Source§impl From<DeleteBucketLifecycleError> for Error
impl From<DeleteBucketLifecycleError> for Error
Source§fn from(err: DeleteBucketLifecycleError) -> Self
fn from(err: DeleteBucketLifecycleError) -> Self
Source§impl From<DeleteBucketMetricsConfigurationError> for Error
impl From<DeleteBucketMetricsConfigurationError> for Error
Source§fn from(err: DeleteBucketMetricsConfigurationError) -> Self
fn from(err: DeleteBucketMetricsConfigurationError) -> Self
Source§impl From<DeleteBucketOwnershipControlsError> for Error
impl From<DeleteBucketOwnershipControlsError> for Error
Source§fn from(err: DeleteBucketOwnershipControlsError) -> Self
fn from(err: DeleteBucketOwnershipControlsError) -> Self
Source§impl From<DeleteBucketPolicyError> for Error
impl From<DeleteBucketPolicyError> for Error
Source§fn from(err: DeleteBucketPolicyError) -> Self
fn from(err: DeleteBucketPolicyError) -> Self
Source§impl From<DeleteBucketReplicationError> for Error
impl From<DeleteBucketReplicationError> for Error
Source§fn from(err: DeleteBucketReplicationError) -> Self
fn from(err: DeleteBucketReplicationError) -> Self
Source§impl From<DeleteBucketTaggingError> for Error
impl From<DeleteBucketTaggingError> for Error
Source§fn from(err: DeleteBucketTaggingError) -> Self
fn from(err: DeleteBucketTaggingError) -> Self
Source§impl From<DeleteBucketWebsiteError> for Error
impl From<DeleteBucketWebsiteError> for Error
Source§fn from(err: DeleteBucketWebsiteError) -> Self
fn from(err: DeleteBucketWebsiteError) -> Self
Source§impl From<DeleteObjectError> for Error
impl From<DeleteObjectError> for Error
Source§fn from(err: DeleteObjectError) -> Self
fn from(err: DeleteObjectError) -> Self
Source§impl From<DeleteObjectTaggingError> for Error
impl From<DeleteObjectTaggingError> for Error
Source§fn from(err: DeleteObjectTaggingError) -> Self
fn from(err: DeleteObjectTaggingError) -> Self
Source§impl From<DeleteObjectsError> for Error
impl From<DeleteObjectsError> for Error
Source§fn from(err: DeleteObjectsError) -> Self
fn from(err: DeleteObjectsError) -> Self
Source§impl From<DeletePublicAccessBlockError> for Error
impl From<DeletePublicAccessBlockError> for Error
Source§fn from(err: DeletePublicAccessBlockError) -> Self
fn from(err: DeletePublicAccessBlockError) -> Self
Source§impl From<GetBucketAccelerateConfigurationError> for Error
impl From<GetBucketAccelerateConfigurationError> for Error
Source§fn from(err: GetBucketAccelerateConfigurationError) -> Self
fn from(err: GetBucketAccelerateConfigurationError) -> Self
Source§impl From<GetBucketAclError> for Error
impl From<GetBucketAclError> for Error
Source§fn from(err: GetBucketAclError) -> Self
fn from(err: GetBucketAclError) -> Self
Source§impl From<GetBucketAnalyticsConfigurationError> for Error
impl From<GetBucketAnalyticsConfigurationError> for Error
Source§fn from(err: GetBucketAnalyticsConfigurationError) -> Self
fn from(err: GetBucketAnalyticsConfigurationError) -> Self
Source§impl From<GetBucketCorsError> for Error
impl From<GetBucketCorsError> for Error
Source§fn from(err: GetBucketCorsError) -> Self
fn from(err: GetBucketCorsError) -> Self
Source§impl From<GetBucketEncryptionError> for Error
impl From<GetBucketEncryptionError> for Error
Source§fn from(err: GetBucketEncryptionError) -> Self
fn from(err: GetBucketEncryptionError) -> Self
Source§impl From<GetBucketIntelligentTieringConfigurationError> for Error
impl From<GetBucketIntelligentTieringConfigurationError> for Error
Source§fn from(err: GetBucketIntelligentTieringConfigurationError) -> Self
fn from(err: GetBucketIntelligentTieringConfigurationError) -> Self
Source§impl From<GetBucketInventoryConfigurationError> for Error
impl From<GetBucketInventoryConfigurationError> for Error
Source§fn from(err: GetBucketInventoryConfigurationError) -> Self
fn from(err: GetBucketInventoryConfigurationError) -> Self
Source§impl From<GetBucketLifecycleConfigurationError> for Error
impl From<GetBucketLifecycleConfigurationError> for Error
Source§fn from(err: GetBucketLifecycleConfigurationError) -> Self
fn from(err: GetBucketLifecycleConfigurationError) -> Self
Source§impl From<GetBucketLocationError> for Error
impl From<GetBucketLocationError> for Error
Source§fn from(err: GetBucketLocationError) -> Self
fn from(err: GetBucketLocationError) -> Self
Source§impl From<GetBucketLoggingError> for Error
impl From<GetBucketLoggingError> for Error
Source§fn from(err: GetBucketLoggingError) -> Self
fn from(err: GetBucketLoggingError) -> Self
Source§impl From<GetBucketMetricsConfigurationError> for Error
impl From<GetBucketMetricsConfigurationError> for Error
Source§fn from(err: GetBucketMetricsConfigurationError) -> Self
fn from(err: GetBucketMetricsConfigurationError) -> Self
Source§impl From<GetBucketNotificationConfigurationError> for Error
impl From<GetBucketNotificationConfigurationError> for Error
Source§fn from(err: GetBucketNotificationConfigurationError) -> Self
fn from(err: GetBucketNotificationConfigurationError) -> Self
Source§impl From<GetBucketOwnershipControlsError> for Error
impl From<GetBucketOwnershipControlsError> for Error
Source§fn from(err: GetBucketOwnershipControlsError) -> Self
fn from(err: GetBucketOwnershipControlsError) -> Self
Source§impl From<GetBucketPolicyError> for Error
impl From<GetBucketPolicyError> for Error
Source§fn from(err: GetBucketPolicyError) -> Self
fn from(err: GetBucketPolicyError) -> Self
Source§impl From<GetBucketPolicyStatusError> for Error
impl From<GetBucketPolicyStatusError> for Error
Source§fn from(err: GetBucketPolicyStatusError) -> Self
fn from(err: GetBucketPolicyStatusError) -> Self
Source§impl From<GetBucketReplicationError> for Error
impl From<GetBucketReplicationError> for Error
Source§fn from(err: GetBucketReplicationError) -> Self
fn from(err: GetBucketReplicationError) -> Self
Source§impl From<GetBucketRequestPaymentError> for Error
impl From<GetBucketRequestPaymentError> for Error
Source§fn from(err: GetBucketRequestPaymentError) -> Self
fn from(err: GetBucketRequestPaymentError) -> Self
Source§impl From<GetBucketTaggingError> for Error
impl From<GetBucketTaggingError> for Error
Source§fn from(err: GetBucketTaggingError) -> Self
fn from(err: GetBucketTaggingError) -> Self
Source§impl From<GetBucketVersioningError> for Error
impl From<GetBucketVersioningError> for Error
Source§fn from(err: GetBucketVersioningError) -> Self
fn from(err: GetBucketVersioningError) -> Self
Source§impl From<GetBucketWebsiteError> for Error
impl From<GetBucketWebsiteError> for Error
Source§fn from(err: GetBucketWebsiteError) -> Self
fn from(err: GetBucketWebsiteError) -> Self
Source§impl From<GetObjectAclError> for Error
impl From<GetObjectAclError> for Error
Source§fn from(err: GetObjectAclError) -> Self
fn from(err: GetObjectAclError) -> Self
Source§impl From<GetObjectAttributesError> for Error
impl From<GetObjectAttributesError> for Error
Source§fn from(err: GetObjectAttributesError) -> Self
fn from(err: GetObjectAttributesError) -> Self
Source§impl From<GetObjectError> for Error
impl From<GetObjectError> for Error
Source§fn from(err: GetObjectError) -> Self
fn from(err: GetObjectError) -> Self
Source§impl From<GetObjectLegalHoldError> for Error
impl From<GetObjectLegalHoldError> for Error
Source§fn from(err: GetObjectLegalHoldError) -> Self
fn from(err: GetObjectLegalHoldError) -> Self
Source§impl From<GetObjectLockConfigurationError> for Error
impl From<GetObjectLockConfigurationError> for Error
Source§fn from(err: GetObjectLockConfigurationError) -> Self
fn from(err: GetObjectLockConfigurationError) -> Self
Source§impl From<GetObjectRetentionError> for Error
impl From<GetObjectRetentionError> for Error
Source§fn from(err: GetObjectRetentionError) -> Self
fn from(err: GetObjectRetentionError) -> Self
Source§impl From<GetObjectTaggingError> for Error
impl From<GetObjectTaggingError> for Error
Source§fn from(err: GetObjectTaggingError) -> Self
fn from(err: GetObjectTaggingError) -> Self
Source§impl From<GetObjectTorrentError> for Error
impl From<GetObjectTorrentError> for Error
Source§fn from(err: GetObjectTorrentError) -> Self
fn from(err: GetObjectTorrentError) -> Self
Source§impl From<GetPublicAccessBlockError> for Error
impl From<GetPublicAccessBlockError> for Error
Source§fn from(err: GetPublicAccessBlockError) -> Self
fn from(err: GetPublicAccessBlockError) -> Self
Source§impl From<HeadBucketError> for Error
impl From<HeadBucketError> for Error
Source§fn from(err: HeadBucketError) -> Self
fn from(err: HeadBucketError) -> Self
Source§impl From<HeadObjectError> for Error
impl From<HeadObjectError> for Error
Source§fn from(err: HeadObjectError) -> Self
fn from(err: HeadObjectError) -> Self
Source§impl From<ListBucketAnalyticsConfigurationsError> for Error
impl From<ListBucketAnalyticsConfigurationsError> for Error
Source§fn from(err: ListBucketAnalyticsConfigurationsError) -> Self
fn from(err: ListBucketAnalyticsConfigurationsError) -> Self
Source§impl From<ListBucketIntelligentTieringConfigurationsError> for Error
impl From<ListBucketIntelligentTieringConfigurationsError> for Error
Source§fn from(err: ListBucketIntelligentTieringConfigurationsError) -> Self
fn from(err: ListBucketIntelligentTieringConfigurationsError) -> Self
Source§impl From<ListBucketInventoryConfigurationsError> for Error
impl From<ListBucketInventoryConfigurationsError> for Error
Source§fn from(err: ListBucketInventoryConfigurationsError) -> Self
fn from(err: ListBucketInventoryConfigurationsError) -> Self
Source§impl From<ListBucketMetricsConfigurationsError> for Error
impl From<ListBucketMetricsConfigurationsError> for Error
Source§fn from(err: ListBucketMetricsConfigurationsError) -> Self
fn from(err: ListBucketMetricsConfigurationsError) -> Self
Source§impl From<ListBucketsError> for Error
impl From<ListBucketsError> for Error
Source§fn from(err: ListBucketsError) -> Self
fn from(err: ListBucketsError) -> Self
Source§impl From<ListDirectoryBucketsError> for Error
impl From<ListDirectoryBucketsError> for Error
Source§fn from(err: ListDirectoryBucketsError) -> Self
fn from(err: ListDirectoryBucketsError) -> Self
Source§impl From<ListMultipartUploadsError> for Error
impl From<ListMultipartUploadsError> for Error
Source§fn from(err: ListMultipartUploadsError) -> Self
fn from(err: ListMultipartUploadsError) -> Self
Source§impl From<ListObjectVersionsError> for Error
impl From<ListObjectVersionsError> for Error
Source§fn from(err: ListObjectVersionsError) -> Self
fn from(err: ListObjectVersionsError) -> Self
Source§impl From<ListObjectsError> for Error
impl From<ListObjectsError> for Error
Source§fn from(err: ListObjectsError) -> Self
fn from(err: ListObjectsError) -> Self
Source§impl From<ListObjectsV2Error> for Error
impl From<ListObjectsV2Error> for Error
Source§fn from(err: ListObjectsV2Error) -> Self
fn from(err: ListObjectsV2Error) -> Self
Source§impl From<ListPartsError> for Error
impl From<ListPartsError> for Error
Source§fn from(err: ListPartsError) -> Self
fn from(err: ListPartsError) -> Self
Source§impl From<PutBucketAccelerateConfigurationError> for Error
impl From<PutBucketAccelerateConfigurationError> for Error
Source§fn from(err: PutBucketAccelerateConfigurationError) -> Self
fn from(err: PutBucketAccelerateConfigurationError) -> Self
Source§impl From<PutBucketAclError> for Error
impl From<PutBucketAclError> for Error
Source§fn from(err: PutBucketAclError) -> Self
fn from(err: PutBucketAclError) -> Self
Source§impl From<PutBucketAnalyticsConfigurationError> for Error
impl From<PutBucketAnalyticsConfigurationError> for Error
Source§fn from(err: PutBucketAnalyticsConfigurationError) -> Self
fn from(err: PutBucketAnalyticsConfigurationError) -> Self
Source§impl From<PutBucketCorsError> for Error
impl From<PutBucketCorsError> for Error
Source§fn from(err: PutBucketCorsError) -> Self
fn from(err: PutBucketCorsError) -> Self
Source§impl From<PutBucketEncryptionError> for Error
impl From<PutBucketEncryptionError> for Error
Source§fn from(err: PutBucketEncryptionError) -> Self
fn from(err: PutBucketEncryptionError) -> Self
Source§impl From<PutBucketIntelligentTieringConfigurationError> for Error
impl From<PutBucketIntelligentTieringConfigurationError> for Error
Source§fn from(err: PutBucketIntelligentTieringConfigurationError) -> Self
fn from(err: PutBucketIntelligentTieringConfigurationError) -> Self
Source§impl From<PutBucketInventoryConfigurationError> for Error
impl From<PutBucketInventoryConfigurationError> for Error
Source§fn from(err: PutBucketInventoryConfigurationError) -> Self
fn from(err: PutBucketInventoryConfigurationError) -> Self
Source§impl From<PutBucketLifecycleConfigurationError> for Error
impl From<PutBucketLifecycleConfigurationError> for Error
Source§fn from(err: PutBucketLifecycleConfigurationError) -> Self
fn from(err: PutBucketLifecycleConfigurationError) -> Self
Source§impl From<PutBucketLoggingError> for Error
impl From<PutBucketLoggingError> for Error
Source§fn from(err: PutBucketLoggingError) -> Self
fn from(err: PutBucketLoggingError) -> Self
Source§impl From<PutBucketMetricsConfigurationError> for Error
impl From<PutBucketMetricsConfigurationError> for Error
Source§fn from(err: PutBucketMetricsConfigurationError) -> Self
fn from(err: PutBucketMetricsConfigurationError) -> Self
Source§impl From<PutBucketNotificationConfigurationError> for Error
impl From<PutBucketNotificationConfigurationError> for Error
Source§fn from(err: PutBucketNotificationConfigurationError) -> Self
fn from(err: PutBucketNotificationConfigurationError) -> Self
Source§impl From<PutBucketOwnershipControlsError> for Error
impl From<PutBucketOwnershipControlsError> for Error
Source§fn from(err: PutBucketOwnershipControlsError) -> Self
fn from(err: PutBucketOwnershipControlsError) -> Self
Source§impl From<PutBucketPolicyError> for Error
impl From<PutBucketPolicyError> for Error
Source§fn from(err: PutBucketPolicyError) -> Self
fn from(err: PutBucketPolicyError) -> Self
Source§impl From<PutBucketReplicationError> for Error
impl From<PutBucketReplicationError> for Error
Source§fn from(err: PutBucketReplicationError) -> Self
fn from(err: PutBucketReplicationError) -> Self
Source§impl From<PutBucketRequestPaymentError> for Error
impl From<PutBucketRequestPaymentError> for Error
Source§fn from(err: PutBucketRequestPaymentError) -> Self
fn from(err: PutBucketRequestPaymentError) -> Self
Source§impl From<PutBucketTaggingError> for Error
impl From<PutBucketTaggingError> for Error
Source§fn from(err: PutBucketTaggingError) -> Self
fn from(err: PutBucketTaggingError) -> Self
Source§impl From<PutBucketVersioningError> for Error
impl From<PutBucketVersioningError> for Error
Source§fn from(err: PutBucketVersioningError) -> Self
fn from(err: PutBucketVersioningError) -> Self
Source§impl From<PutBucketWebsiteError> for Error
impl From<PutBucketWebsiteError> for Error
Source§fn from(err: PutBucketWebsiteError) -> Self
fn from(err: PutBucketWebsiteError) -> Self
Source§impl From<PutObjectAclError> for Error
impl From<PutObjectAclError> for Error
Source§fn from(err: PutObjectAclError) -> Self
fn from(err: PutObjectAclError) -> Self
Source§impl From<PutObjectError> for Error
impl From<PutObjectError> for Error
Source§fn from(err: PutObjectError) -> Self
fn from(err: PutObjectError) -> Self
Source§impl From<PutObjectLegalHoldError> for Error
impl From<PutObjectLegalHoldError> for Error
Source§fn from(err: PutObjectLegalHoldError) -> Self
fn from(err: PutObjectLegalHoldError) -> Self
Source§impl From<PutObjectLockConfigurationError> for Error
impl From<PutObjectLockConfigurationError> for Error
Source§fn from(err: PutObjectLockConfigurationError) -> Self
fn from(err: PutObjectLockConfigurationError) -> Self
Source§impl From<PutObjectRetentionError> for Error
impl From<PutObjectRetentionError> for Error
Source§fn from(err: PutObjectRetentionError) -> Self
fn from(err: PutObjectRetentionError) -> Self
Source§impl From<PutObjectTaggingError> for Error
impl From<PutObjectTaggingError> for Error
Source§fn from(err: PutObjectTaggingError) -> Self
fn from(err: PutObjectTaggingError) -> Self
Source§impl From<PutPublicAccessBlockError> for Error
impl From<PutPublicAccessBlockError> for Error
Source§fn from(err: PutPublicAccessBlockError) -> Self
fn from(err: PutPublicAccessBlockError) -> Self
Source§impl From<RestoreObjectError> for Error
impl From<RestoreObjectError> for Error
Source§fn from(err: RestoreObjectError) -> Self
fn from(err: RestoreObjectError) -> Self
Source§impl<R> From<SdkError<AbortMultipartUploadError, R>> for Error
impl<R> From<SdkError<AbortMultipartUploadError, R>> for Error
Source§fn from(err: SdkError<AbortMultipartUploadError, R>) -> Self
fn from(err: SdkError<AbortMultipartUploadError, R>) -> Self
Source§impl<R> From<SdkError<CompleteMultipartUploadError, R>> for Error
impl<R> From<SdkError<CompleteMultipartUploadError, R>> for Error
Source§fn from(err: SdkError<CompleteMultipartUploadError, R>) -> Self
fn from(err: SdkError<CompleteMultipartUploadError, R>) -> Self
Source§impl<R> From<SdkError<CopyObjectError, R>> for Error
impl<R> From<SdkError<CopyObjectError, R>> for Error
Source§fn from(err: SdkError<CopyObjectError, R>) -> Self
fn from(err: SdkError<CopyObjectError, R>) -> Self
Source§impl<R> From<SdkError<CreateBucketError, R>> for Error
impl<R> From<SdkError<CreateBucketError, R>> for Error
Source§fn from(err: SdkError<CreateBucketError, R>) -> Self
fn from(err: SdkError<CreateBucketError, R>) -> Self
Source§impl<R> From<SdkError<CreateMultipartUploadError, R>> for Error
impl<R> From<SdkError<CreateMultipartUploadError, R>> for Error
Source§fn from(err: SdkError<CreateMultipartUploadError, R>) -> Self
fn from(err: SdkError<CreateMultipartUploadError, R>) -> Self
Source§impl<R> From<SdkError<CreateSessionError, R>> for Error
impl<R> From<SdkError<CreateSessionError, R>> for Error
Source§fn from(err: SdkError<CreateSessionError, R>) -> Self
fn from(err: SdkError<CreateSessionError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketAnalyticsConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteBucketAnalyticsConfigurationError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketAnalyticsConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteBucketAnalyticsConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketCorsError, R>> for Error
impl<R> From<SdkError<DeleteBucketCorsError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketCorsError, R>) -> Self
fn from(err: SdkError<DeleteBucketCorsError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketEncryptionError, R>> for Error
impl<R> From<SdkError<DeleteBucketEncryptionError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketEncryptionError, R>) -> Self
fn from(err: SdkError<DeleteBucketEncryptionError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketError, R>> for Error
impl<R> From<SdkError<DeleteBucketError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketError, R>) -> Self
fn from(err: SdkError<DeleteBucketError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketIntelligentTieringConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteBucketIntelligentTieringConfigurationError, R>> for Error
Source§fn from(
err: SdkError<DeleteBucketIntelligentTieringConfigurationError, R>,
) -> Self
fn from( err: SdkError<DeleteBucketIntelligentTieringConfigurationError, R>, ) -> Self
Source§impl<R> From<SdkError<DeleteBucketInventoryConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteBucketInventoryConfigurationError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketInventoryConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteBucketInventoryConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketLifecycleError, R>> for Error
impl<R> From<SdkError<DeleteBucketLifecycleError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketLifecycleError, R>) -> Self
fn from(err: SdkError<DeleteBucketLifecycleError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketMetricsConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteBucketMetricsConfigurationError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketMetricsConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteBucketMetricsConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketOwnershipControlsError, R>> for Error
impl<R> From<SdkError<DeleteBucketOwnershipControlsError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketOwnershipControlsError, R>) -> Self
fn from(err: SdkError<DeleteBucketOwnershipControlsError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketPolicyError, R>> for Error
impl<R> From<SdkError<DeleteBucketPolicyError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketPolicyError, R>) -> Self
fn from(err: SdkError<DeleteBucketPolicyError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketReplicationError, R>> for Error
impl<R> From<SdkError<DeleteBucketReplicationError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketReplicationError, R>) -> Self
fn from(err: SdkError<DeleteBucketReplicationError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketTaggingError, R>> for Error
impl<R> From<SdkError<DeleteBucketTaggingError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketTaggingError, R>) -> Self
fn from(err: SdkError<DeleteBucketTaggingError, R>) -> Self
Source§impl<R> From<SdkError<DeleteBucketWebsiteError, R>> for Error
impl<R> From<SdkError<DeleteBucketWebsiteError, R>> for Error
Source§fn from(err: SdkError<DeleteBucketWebsiteError, R>) -> Self
fn from(err: SdkError<DeleteBucketWebsiteError, R>) -> Self
Source§impl<R> From<SdkError<DeleteObjectError, R>> for Error
impl<R> From<SdkError<DeleteObjectError, R>> for Error
Source§fn from(err: SdkError<DeleteObjectError, R>) -> Self
fn from(err: SdkError<DeleteObjectError, R>) -> Self
Source§impl<R> From<SdkError<DeleteObjectTaggingError, R>> for Error
impl<R> From<SdkError<DeleteObjectTaggingError, R>> for Error
Source§fn from(err: SdkError<DeleteObjectTaggingError, R>) -> Self
fn from(err: SdkError<DeleteObjectTaggingError, R>) -> Self
Source§impl<R> From<SdkError<DeleteObjectsError, R>> for Error
impl<R> From<SdkError<DeleteObjectsError, R>> for Error
Source§fn from(err: SdkError<DeleteObjectsError, R>) -> Self
fn from(err: SdkError<DeleteObjectsError, R>) -> Self
Source§impl<R> From<SdkError<DeletePublicAccessBlockError, R>> for Error
impl<R> From<SdkError<DeletePublicAccessBlockError, R>> for Error
Source§fn from(err: SdkError<DeletePublicAccessBlockError, R>) -> Self
fn from(err: SdkError<DeletePublicAccessBlockError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketAccelerateConfigurationError, R>> for Error
impl<R> From<SdkError<GetBucketAccelerateConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetBucketAccelerateConfigurationError, R>) -> Self
fn from(err: SdkError<GetBucketAccelerateConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketAclError, R>> for Error
impl<R> From<SdkError<GetBucketAclError, R>> for Error
Source§fn from(err: SdkError<GetBucketAclError, R>) -> Self
fn from(err: SdkError<GetBucketAclError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketAnalyticsConfigurationError, R>> for Error
impl<R> From<SdkError<GetBucketAnalyticsConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetBucketAnalyticsConfigurationError, R>) -> Self
fn from(err: SdkError<GetBucketAnalyticsConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketCorsError, R>> for Error
impl<R> From<SdkError<GetBucketCorsError, R>> for Error
Source§fn from(err: SdkError<GetBucketCorsError, R>) -> Self
fn from(err: SdkError<GetBucketCorsError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketEncryptionError, R>> for Error
impl<R> From<SdkError<GetBucketEncryptionError, R>> for Error
Source§fn from(err: SdkError<GetBucketEncryptionError, R>) -> Self
fn from(err: SdkError<GetBucketEncryptionError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketIntelligentTieringConfigurationError, R>> for Error
impl<R> From<SdkError<GetBucketIntelligentTieringConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetBucketIntelligentTieringConfigurationError, R>) -> Self
fn from(err: SdkError<GetBucketIntelligentTieringConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketInventoryConfigurationError, R>> for Error
impl<R> From<SdkError<GetBucketInventoryConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetBucketInventoryConfigurationError, R>) -> Self
fn from(err: SdkError<GetBucketInventoryConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketLifecycleConfigurationError, R>> for Error
impl<R> From<SdkError<GetBucketLifecycleConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetBucketLifecycleConfigurationError, R>) -> Self
fn from(err: SdkError<GetBucketLifecycleConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketLocationError, R>> for Error
impl<R> From<SdkError<GetBucketLocationError, R>> for Error
Source§fn from(err: SdkError<GetBucketLocationError, R>) -> Self
fn from(err: SdkError<GetBucketLocationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketLoggingError, R>> for Error
impl<R> From<SdkError<GetBucketLoggingError, R>> for Error
Source§fn from(err: SdkError<GetBucketLoggingError, R>) -> Self
fn from(err: SdkError<GetBucketLoggingError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketMetricsConfigurationError, R>> for Error
impl<R> From<SdkError<GetBucketMetricsConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetBucketMetricsConfigurationError, R>) -> Self
fn from(err: SdkError<GetBucketMetricsConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketNotificationConfigurationError, R>> for Error
impl<R> From<SdkError<GetBucketNotificationConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetBucketNotificationConfigurationError, R>) -> Self
fn from(err: SdkError<GetBucketNotificationConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketOwnershipControlsError, R>> for Error
impl<R> From<SdkError<GetBucketOwnershipControlsError, R>> for Error
Source§fn from(err: SdkError<GetBucketOwnershipControlsError, R>) -> Self
fn from(err: SdkError<GetBucketOwnershipControlsError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketPolicyError, R>> for Error
impl<R> From<SdkError<GetBucketPolicyError, R>> for Error
Source§fn from(err: SdkError<GetBucketPolicyError, R>) -> Self
fn from(err: SdkError<GetBucketPolicyError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketPolicyStatusError, R>> for Error
impl<R> From<SdkError<GetBucketPolicyStatusError, R>> for Error
Source§fn from(err: SdkError<GetBucketPolicyStatusError, R>) -> Self
fn from(err: SdkError<GetBucketPolicyStatusError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketReplicationError, R>> for Error
impl<R> From<SdkError<GetBucketReplicationError, R>> for Error
Source§fn from(err: SdkError<GetBucketReplicationError, R>) -> Self
fn from(err: SdkError<GetBucketReplicationError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketRequestPaymentError, R>> for Error
impl<R> From<SdkError<GetBucketRequestPaymentError, R>> for Error
Source§fn from(err: SdkError<GetBucketRequestPaymentError, R>) -> Self
fn from(err: SdkError<GetBucketRequestPaymentError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketTaggingError, R>> for Error
impl<R> From<SdkError<GetBucketTaggingError, R>> for Error
Source§fn from(err: SdkError<GetBucketTaggingError, R>) -> Self
fn from(err: SdkError<GetBucketTaggingError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketVersioningError, R>> for Error
impl<R> From<SdkError<GetBucketVersioningError, R>> for Error
Source§fn from(err: SdkError<GetBucketVersioningError, R>) -> Self
fn from(err: SdkError<GetBucketVersioningError, R>) -> Self
Source§impl<R> From<SdkError<GetBucketWebsiteError, R>> for Error
impl<R> From<SdkError<GetBucketWebsiteError, R>> for Error
Source§fn from(err: SdkError<GetBucketWebsiteError, R>) -> Self
fn from(err: SdkError<GetBucketWebsiteError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectAclError, R>> for Error
impl<R> From<SdkError<GetObjectAclError, R>> for Error
Source§fn from(err: SdkError<GetObjectAclError, R>) -> Self
fn from(err: SdkError<GetObjectAclError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectAttributesError, R>> for Error
impl<R> From<SdkError<GetObjectAttributesError, R>> for Error
Source§fn from(err: SdkError<GetObjectAttributesError, R>) -> Self
fn from(err: SdkError<GetObjectAttributesError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectError, R>> for Error
impl<R> From<SdkError<GetObjectError, R>> for Error
Source§fn from(err: SdkError<GetObjectError, R>) -> Self
fn from(err: SdkError<GetObjectError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectLegalHoldError, R>> for Error
impl<R> From<SdkError<GetObjectLegalHoldError, R>> for Error
Source§fn from(err: SdkError<GetObjectLegalHoldError, R>) -> Self
fn from(err: SdkError<GetObjectLegalHoldError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectLockConfigurationError, R>> for Error
impl<R> From<SdkError<GetObjectLockConfigurationError, R>> for Error
Source§fn from(err: SdkError<GetObjectLockConfigurationError, R>) -> Self
fn from(err: SdkError<GetObjectLockConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectRetentionError, R>> for Error
impl<R> From<SdkError<GetObjectRetentionError, R>> for Error
Source§fn from(err: SdkError<GetObjectRetentionError, R>) -> Self
fn from(err: SdkError<GetObjectRetentionError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectTaggingError, R>> for Error
impl<R> From<SdkError<GetObjectTaggingError, R>> for Error
Source§fn from(err: SdkError<GetObjectTaggingError, R>) -> Self
fn from(err: SdkError<GetObjectTaggingError, R>) -> Self
Source§impl<R> From<SdkError<GetObjectTorrentError, R>> for Error
impl<R> From<SdkError<GetObjectTorrentError, R>> for Error
Source§fn from(err: SdkError<GetObjectTorrentError, R>) -> Self
fn from(err: SdkError<GetObjectTorrentError, R>) -> Self
Source§impl<R> From<SdkError<GetPublicAccessBlockError, R>> for Error
impl<R> From<SdkError<GetPublicAccessBlockError, R>> for Error
Source§fn from(err: SdkError<GetPublicAccessBlockError, R>) -> Self
fn from(err: SdkError<GetPublicAccessBlockError, R>) -> Self
Source§impl<R> From<SdkError<HeadBucketError, R>> for Error
impl<R> From<SdkError<HeadBucketError, R>> for Error
Source§fn from(err: SdkError<HeadBucketError, R>) -> Self
fn from(err: SdkError<HeadBucketError, R>) -> Self
Source§impl<R> From<SdkError<HeadObjectError, R>> for Error
impl<R> From<SdkError<HeadObjectError, R>> for Error
Source§fn from(err: SdkError<HeadObjectError, R>) -> Self
fn from(err: SdkError<HeadObjectError, R>) -> Self
Source§impl<R> From<SdkError<ListBucketAnalyticsConfigurationsError, R>> for Error
impl<R> From<SdkError<ListBucketAnalyticsConfigurationsError, R>> for Error
Source§fn from(err: SdkError<ListBucketAnalyticsConfigurationsError, R>) -> Self
fn from(err: SdkError<ListBucketAnalyticsConfigurationsError, R>) -> Self
Source§impl<R> From<SdkError<ListBucketIntelligentTieringConfigurationsError, R>> for Error
impl<R> From<SdkError<ListBucketIntelligentTieringConfigurationsError, R>> for Error
Source§fn from(
err: SdkError<ListBucketIntelligentTieringConfigurationsError, R>,
) -> Self
fn from( err: SdkError<ListBucketIntelligentTieringConfigurationsError, R>, ) -> Self
Source§impl<R> From<SdkError<ListBucketInventoryConfigurationsError, R>> for Error
impl<R> From<SdkError<ListBucketInventoryConfigurationsError, R>> for Error
Source§fn from(err: SdkError<ListBucketInventoryConfigurationsError, R>) -> Self
fn from(err: SdkError<ListBucketInventoryConfigurationsError, R>) -> Self
Source§impl<R> From<SdkError<ListBucketMetricsConfigurationsError, R>> for Error
impl<R> From<SdkError<ListBucketMetricsConfigurationsError, R>> for Error
Source§fn from(err: SdkError<ListBucketMetricsConfigurationsError, R>) -> Self
fn from(err: SdkError<ListBucketMetricsConfigurationsError, R>) -> Self
Source§impl<R> From<SdkError<ListBucketsError, R>> for Error
impl<R> From<SdkError<ListBucketsError, R>> for Error
Source§fn from(err: SdkError<ListBucketsError, R>) -> Self
fn from(err: SdkError<ListBucketsError, R>) -> Self
Source§impl<R> From<SdkError<ListDirectoryBucketsError, R>> for Error
impl<R> From<SdkError<ListDirectoryBucketsError, R>> for Error
Source§fn from(err: SdkError<ListDirectoryBucketsError, R>) -> Self
fn from(err: SdkError<ListDirectoryBucketsError, R>) -> Self
Source§impl<R> From<SdkError<ListMultipartUploadsError, R>> for Error
impl<R> From<SdkError<ListMultipartUploadsError, R>> for Error
Source§fn from(err: SdkError<ListMultipartUploadsError, R>) -> Self
fn from(err: SdkError<ListMultipartUploadsError, R>) -> Self
Source§impl<R> From<SdkError<ListObjectVersionsError, R>> for Error
impl<R> From<SdkError<ListObjectVersionsError, R>> for Error
Source§fn from(err: SdkError<ListObjectVersionsError, R>) -> Self
fn from(err: SdkError<ListObjectVersionsError, R>) -> Self
Source§impl<R> From<SdkError<ListObjectsError, R>> for Error
impl<R> From<SdkError<ListObjectsError, R>> for Error
Source§fn from(err: SdkError<ListObjectsError, R>) -> Self
fn from(err: SdkError<ListObjectsError, R>) -> Self
Source§impl<R> From<SdkError<ListObjectsV2Error, R>> for Error
impl<R> From<SdkError<ListObjectsV2Error, R>> for Error
Source§fn from(err: SdkError<ListObjectsV2Error, R>) -> Self
fn from(err: SdkError<ListObjectsV2Error, R>) -> Self
Source§impl<R> From<SdkError<ListPartsError, R>> for Error
impl<R> From<SdkError<ListPartsError, R>> for Error
Source§fn from(err: SdkError<ListPartsError, R>) -> Self
fn from(err: SdkError<ListPartsError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketAccelerateConfigurationError, R>> for Error
impl<R> From<SdkError<PutBucketAccelerateConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutBucketAccelerateConfigurationError, R>) -> Self
fn from(err: SdkError<PutBucketAccelerateConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketAclError, R>> for Error
impl<R> From<SdkError<PutBucketAclError, R>> for Error
Source§fn from(err: SdkError<PutBucketAclError, R>) -> Self
fn from(err: SdkError<PutBucketAclError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketAnalyticsConfigurationError, R>> for Error
impl<R> From<SdkError<PutBucketAnalyticsConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutBucketAnalyticsConfigurationError, R>) -> Self
fn from(err: SdkError<PutBucketAnalyticsConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketCorsError, R>> for Error
impl<R> From<SdkError<PutBucketCorsError, R>> for Error
Source§fn from(err: SdkError<PutBucketCorsError, R>) -> Self
fn from(err: SdkError<PutBucketCorsError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketEncryptionError, R>> for Error
impl<R> From<SdkError<PutBucketEncryptionError, R>> for Error
Source§fn from(err: SdkError<PutBucketEncryptionError, R>) -> Self
fn from(err: SdkError<PutBucketEncryptionError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketIntelligentTieringConfigurationError, R>> for Error
impl<R> From<SdkError<PutBucketIntelligentTieringConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutBucketIntelligentTieringConfigurationError, R>) -> Self
fn from(err: SdkError<PutBucketIntelligentTieringConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketInventoryConfigurationError, R>> for Error
impl<R> From<SdkError<PutBucketInventoryConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutBucketInventoryConfigurationError, R>) -> Self
fn from(err: SdkError<PutBucketInventoryConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketLifecycleConfigurationError, R>> for Error
impl<R> From<SdkError<PutBucketLifecycleConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutBucketLifecycleConfigurationError, R>) -> Self
fn from(err: SdkError<PutBucketLifecycleConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketLoggingError, R>> for Error
impl<R> From<SdkError<PutBucketLoggingError, R>> for Error
Source§fn from(err: SdkError<PutBucketLoggingError, R>) -> Self
fn from(err: SdkError<PutBucketLoggingError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketMetricsConfigurationError, R>> for Error
impl<R> From<SdkError<PutBucketMetricsConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutBucketMetricsConfigurationError, R>) -> Self
fn from(err: SdkError<PutBucketMetricsConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketNotificationConfigurationError, R>> for Error
impl<R> From<SdkError<PutBucketNotificationConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutBucketNotificationConfigurationError, R>) -> Self
fn from(err: SdkError<PutBucketNotificationConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketOwnershipControlsError, R>> for Error
impl<R> From<SdkError<PutBucketOwnershipControlsError, R>> for Error
Source§fn from(err: SdkError<PutBucketOwnershipControlsError, R>) -> Self
fn from(err: SdkError<PutBucketOwnershipControlsError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketPolicyError, R>> for Error
impl<R> From<SdkError<PutBucketPolicyError, R>> for Error
Source§fn from(err: SdkError<PutBucketPolicyError, R>) -> Self
fn from(err: SdkError<PutBucketPolicyError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketReplicationError, R>> for Error
impl<R> From<SdkError<PutBucketReplicationError, R>> for Error
Source§fn from(err: SdkError<PutBucketReplicationError, R>) -> Self
fn from(err: SdkError<PutBucketReplicationError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketRequestPaymentError, R>> for Error
impl<R> From<SdkError<PutBucketRequestPaymentError, R>> for Error
Source§fn from(err: SdkError<PutBucketRequestPaymentError, R>) -> Self
fn from(err: SdkError<PutBucketRequestPaymentError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketTaggingError, R>> for Error
impl<R> From<SdkError<PutBucketTaggingError, R>> for Error
Source§fn from(err: SdkError<PutBucketTaggingError, R>) -> Self
fn from(err: SdkError<PutBucketTaggingError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketVersioningError, R>> for Error
impl<R> From<SdkError<PutBucketVersioningError, R>> for Error
Source§fn from(err: SdkError<PutBucketVersioningError, R>) -> Self
fn from(err: SdkError<PutBucketVersioningError, R>) -> Self
Source§impl<R> From<SdkError<PutBucketWebsiteError, R>> for Error
impl<R> From<SdkError<PutBucketWebsiteError, R>> for Error
Source§fn from(err: SdkError<PutBucketWebsiteError, R>) -> Self
fn from(err: SdkError<PutBucketWebsiteError, R>) -> Self
Source§impl<R> From<SdkError<PutObjectAclError, R>> for Error
impl<R> From<SdkError<PutObjectAclError, R>> for Error
Source§fn from(err: SdkError<PutObjectAclError, R>) -> Self
fn from(err: SdkError<PutObjectAclError, R>) -> Self
Source§impl<R> From<SdkError<PutObjectError, R>> for Error
impl<R> From<SdkError<PutObjectError, R>> for Error
Source§fn from(err: SdkError<PutObjectError, R>) -> Self
fn from(err: SdkError<PutObjectError, R>) -> Self
Source§impl<R> From<SdkError<PutObjectLegalHoldError, R>> for Error
impl<R> From<SdkError<PutObjectLegalHoldError, R>> for Error
Source§fn from(err: SdkError<PutObjectLegalHoldError, R>) -> Self
fn from(err: SdkError<PutObjectLegalHoldError, R>) -> Self
Source§impl<R> From<SdkError<PutObjectLockConfigurationError, R>> for Error
impl<R> From<SdkError<PutObjectLockConfigurationError, R>> for Error
Source§fn from(err: SdkError<PutObjectLockConfigurationError, R>) -> Self
fn from(err: SdkError<PutObjectLockConfigurationError, R>) -> Self
Source§impl<R> From<SdkError<PutObjectRetentionError, R>> for Error
impl<R> From<SdkError<PutObjectRetentionError, R>> for Error
Source§fn from(err: SdkError<PutObjectRetentionError, R>) -> Self
fn from(err: SdkError<PutObjectRetentionError, R>) -> Self
Source§impl<R> From<SdkError<PutObjectTaggingError, R>> for Error
impl<R> From<SdkError<PutObjectTaggingError, R>> for Error
Source§fn from(err: SdkError<PutObjectTaggingError, R>) -> Self
fn from(err: SdkError<PutObjectTaggingError, R>) -> Self
Source§impl<R> From<SdkError<PutPublicAccessBlockError, R>> for Error
impl<R> From<SdkError<PutPublicAccessBlockError, R>> for Error
Source§fn from(err: SdkError<PutPublicAccessBlockError, R>) -> Self
fn from(err: SdkError<PutPublicAccessBlockError, R>) -> Self
Source§impl<R> From<SdkError<RestoreObjectError, R>> for Error
impl<R> From<SdkError<RestoreObjectError, R>> for Error
Source§fn from(err: SdkError<RestoreObjectError, R>) -> Self
fn from(err: SdkError<RestoreObjectError, R>) -> Self
Source§impl<R> From<SdkError<SelectObjectContentError, R>> for Error
impl<R> From<SdkError<SelectObjectContentError, R>> for Error
Source§fn from(err: SdkError<SelectObjectContentError, R>) -> Self
fn from(err: SdkError<SelectObjectContentError, R>) -> Self
Source§impl<R> From<SdkError<SelectObjectContentEventStreamError, R>> for Error
impl<R> From<SdkError<SelectObjectContentEventStreamError, R>> for Error
Source§fn from(err: SdkError<SelectObjectContentEventStreamError, R>) -> Self
fn from(err: SdkError<SelectObjectContentEventStreamError, R>) -> Self
Source§impl<R> From<SdkError<UploadPartCopyError, R>> for Error
impl<R> From<SdkError<UploadPartCopyError, R>> for Error
Source§fn from(err: SdkError<UploadPartCopyError, R>) -> Self
fn from(err: SdkError<UploadPartCopyError, R>) -> Self
Source§impl<R> From<SdkError<UploadPartError, R>> for Error
impl<R> From<SdkError<UploadPartError, R>> for Error
Source§fn from(err: SdkError<UploadPartError, R>) -> Self
fn from(err: SdkError<UploadPartError, R>) -> Self
Source§impl<R> From<SdkError<WriteGetObjectResponseError, R>> for Error
impl<R> From<SdkError<WriteGetObjectResponseError, R>> for Error
Source§fn from(err: SdkError<WriteGetObjectResponseError, R>) -> Self
fn from(err: SdkError<WriteGetObjectResponseError, R>) -> Self
Source§impl From<SelectObjectContentError> for Error
impl From<SelectObjectContentError> for Error
Source§fn from(err: SelectObjectContentError) -> Self
fn from(err: SelectObjectContentError) -> Self
Source§impl From<SelectObjectContentEventStreamError> for Error
impl From<SelectObjectContentEventStreamError> for Error
Source§fn from(err: SelectObjectContentEventStreamError) -> Self
fn from(err: SelectObjectContentEventStreamError) -> Self
Source§impl From<UploadPartCopyError> for Error
impl From<UploadPartCopyError> for Error
Source§fn from(err: UploadPartCopyError) -> Self
fn from(err: UploadPartCopyError) -> Self
Source§impl From<UploadPartError> for Error
impl From<UploadPartError> for Error
Source§fn from(err: UploadPartError) -> Self
fn from(err: UploadPartError) -> Self
Source§impl<O, E> From<WaiterError<O, E>> for Error
impl<O, E> From<WaiterError<O, E>> for Error
Source§fn from(err: WaiterError<O, E>) -> Self
fn from(err: WaiterError<O, E>) -> Self
Source§impl From<WriteGetObjectResponseError> for Error
impl From<WriteGetObjectResponseError> for Error
Source§fn from(err: WriteGetObjectResponseError) -> Self
fn from(err: WriteGetObjectResponseError) -> Self
Source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
Source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Source§impl RequestId for Error
impl RequestId for Error
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.Source§impl RequestIdExt for Error
impl RequestIdExt for Error
Source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
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);