pub enum Error {
    BucketAlreadyExists(BucketAlreadyExists),
    BucketAlreadyOwnedByYou(BucketAlreadyOwnedByYou),
    InvalidObjectState(InvalidObjectState),
    NoSuchBucket(NoSuchBucket),
    NoSuchKey(NoSuchKey),
    NoSuchUpload(NoSuchUpload),
    NotFound(NotFound),
    ObjectAlreadyInActiveTierError(ObjectAlreadyInActiveTierError),
    ObjectNotInActiveTierError(ObjectNotInActiveTierError),
    Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

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).

§

InvalidObjectState(InvalidObjectState)

Object is archived and inaccessible until restored.

§

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.

§

Unhandled(Unhandled)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

§

impl Debug for Error

§

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

Formats the value using the given formatter. Read more
§

impl Display for Error

§

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

Formats the value using the given formatter. Read more
§

impl Error for Error

§

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

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

fn description(&self) -> &str

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

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

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

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

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

impl From<AbortMultipartUploadError> for Error

§

fn from(err: AbortMultipartUploadError) -> Error

Converts to this type from the input type.
§

impl From<CompleteMultipartUploadError> for Error

§

fn from(err: CompleteMultipartUploadError) -> Error

Converts to this type from the input type.
§

impl From<CopyObjectError> for Error

§

fn from(err: CopyObjectError) -> Error

Converts to this type from the input type.
§

impl From<CreateBucketError> for Error

§

fn from(err: CreateBucketError) -> Error

Converts to this type from the input type.
§

impl From<CreateMultipartUploadError> for Error

§

fn from(err: CreateMultipartUploadError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketAnalyticsConfigurationError> for Error

§

fn from(err: DeleteBucketAnalyticsConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketCorsError> for Error

§

fn from(err: DeleteBucketCorsError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketEncryptionError> for Error

§

fn from(err: DeleteBucketEncryptionError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketError> for Error

§

fn from(err: DeleteBucketError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketIntelligentTieringConfigurationError> for Error

§

fn from(err: DeleteBucketIntelligentTieringConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketInventoryConfigurationError> for Error

§

fn from(err: DeleteBucketInventoryConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketLifecycleError> for Error

§

fn from(err: DeleteBucketLifecycleError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketMetricsConfigurationError> for Error

§

fn from(err: DeleteBucketMetricsConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketOwnershipControlsError> for Error

§

fn from(err: DeleteBucketOwnershipControlsError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketPolicyError> for Error

§

fn from(err: DeleteBucketPolicyError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketReplicationError> for Error

§

fn from(err: DeleteBucketReplicationError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketTaggingError> for Error

§

fn from(err: DeleteBucketTaggingError) -> Error

Converts to this type from the input type.
§

impl From<DeleteBucketWebsiteError> for Error

§

fn from(err: DeleteBucketWebsiteError) -> Error

Converts to this type from the input type.
§

impl From<DeleteObjectError> for Error

§

fn from(err: DeleteObjectError) -> Error

Converts to this type from the input type.
§

impl From<DeleteObjectTaggingError> for Error

§

fn from(err: DeleteObjectTaggingError) -> Error

Converts to this type from the input type.
§

impl From<DeleteObjectsError> for Error

§

fn from(err: DeleteObjectsError) -> Error

Converts to this type from the input type.
§

impl From<DeletePublicAccessBlockError> for Error

§

fn from(err: DeletePublicAccessBlockError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketAccelerateConfigurationError> for Error

§

fn from(err: GetBucketAccelerateConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketAclError> for Error

§

fn from(err: GetBucketAclError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketAnalyticsConfigurationError> for Error

§

fn from(err: GetBucketAnalyticsConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketCorsError> for Error

§

fn from(err: GetBucketCorsError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketEncryptionError> for Error

§

fn from(err: GetBucketEncryptionError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketIntelligentTieringConfigurationError> for Error

§

fn from(err: GetBucketIntelligentTieringConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketInventoryConfigurationError> for Error

§

fn from(err: GetBucketInventoryConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketLifecycleConfigurationError> for Error

§

fn from(err: GetBucketLifecycleConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketLocationError> for Error

§

fn from(err: GetBucketLocationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketLoggingError> for Error

§

fn from(err: GetBucketLoggingError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketMetricsConfigurationError> for Error

§

fn from(err: GetBucketMetricsConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketNotificationConfigurationError> for Error

§

fn from(err: GetBucketNotificationConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketOwnershipControlsError> for Error

§

fn from(err: GetBucketOwnershipControlsError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketPolicyError> for Error

§

fn from(err: GetBucketPolicyError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketPolicyStatusError> for Error

§

fn from(err: GetBucketPolicyStatusError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketReplicationError> for Error

§

fn from(err: GetBucketReplicationError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketRequestPaymentError> for Error

§

fn from(err: GetBucketRequestPaymentError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketTaggingError> for Error

§

fn from(err: GetBucketTaggingError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketVersioningError> for Error

§

fn from(err: GetBucketVersioningError) -> Error

Converts to this type from the input type.
§

impl From<GetBucketWebsiteError> for Error

§

fn from(err: GetBucketWebsiteError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectAclError> for Error

§

fn from(err: GetObjectAclError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectAttributesError> for Error

§

fn from(err: GetObjectAttributesError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectError> for Error

§

fn from(err: GetObjectError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectLegalHoldError> for Error

§

fn from(err: GetObjectLegalHoldError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectLockConfigurationError> for Error

§

fn from(err: GetObjectLockConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectRetentionError> for Error

§

fn from(err: GetObjectRetentionError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectTaggingError> for Error

§

fn from(err: GetObjectTaggingError) -> Error

Converts to this type from the input type.
§

impl From<GetObjectTorrentError> for Error

§

fn from(err: GetObjectTorrentError) -> Error

Converts to this type from the input type.
§

impl From<GetPublicAccessBlockError> for Error

§

fn from(err: GetPublicAccessBlockError) -> Error

Converts to this type from the input type.
§

impl From<HeadBucketError> for Error

§

fn from(err: HeadBucketError) -> Error

Converts to this type from the input type.
§

impl From<HeadObjectError> for Error

§

fn from(err: HeadObjectError) -> Error

Converts to this type from the input type.
§

impl From<ListBucketAnalyticsConfigurationsError> for Error

§

fn from(err: ListBucketAnalyticsConfigurationsError) -> Error

Converts to this type from the input type.
§

impl From<ListBucketIntelligentTieringConfigurationsError> for Error

§

fn from(err: ListBucketIntelligentTieringConfigurationsError) -> Error

Converts to this type from the input type.
§

impl From<ListBucketInventoryConfigurationsError> for Error

§

fn from(err: ListBucketInventoryConfigurationsError) -> Error

Converts to this type from the input type.
§

impl From<ListBucketMetricsConfigurationsError> for Error

§

fn from(err: ListBucketMetricsConfigurationsError) -> Error

Converts to this type from the input type.
§

impl From<ListBucketsError> for Error

§

fn from(err: ListBucketsError) -> Error

Converts to this type from the input type.
§

impl From<ListMultipartUploadsError> for Error

§

fn from(err: ListMultipartUploadsError) -> Error

Converts to this type from the input type.
§

impl From<ListObjectVersionsError> for Error

§

fn from(err: ListObjectVersionsError) -> Error

Converts to this type from the input type.
§

impl From<ListObjectsError> for Error

§

fn from(err: ListObjectsError) -> Error

Converts to this type from the input type.
§

impl From<ListObjectsV2Error> for Error

§

fn from(err: ListObjectsV2Error) -> Error

Converts to this type from the input type.
§

impl From<ListPartsError> for Error

§

fn from(err: ListPartsError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketAccelerateConfigurationError> for Error

§

fn from(err: PutBucketAccelerateConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketAclError> for Error

§

fn from(err: PutBucketAclError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketAnalyticsConfigurationError> for Error

§

fn from(err: PutBucketAnalyticsConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketCorsError> for Error

§

fn from(err: PutBucketCorsError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketEncryptionError> for Error

§

fn from(err: PutBucketEncryptionError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketIntelligentTieringConfigurationError> for Error

§

fn from(err: PutBucketIntelligentTieringConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketInventoryConfigurationError> for Error

§

fn from(err: PutBucketInventoryConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketLifecycleConfigurationError> for Error

§

fn from(err: PutBucketLifecycleConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketLoggingError> for Error

§

fn from(err: PutBucketLoggingError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketMetricsConfigurationError> for Error

§

fn from(err: PutBucketMetricsConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketNotificationConfigurationError> for Error

§

fn from(err: PutBucketNotificationConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketOwnershipControlsError> for Error

§

fn from(err: PutBucketOwnershipControlsError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketPolicyError> for Error

§

fn from(err: PutBucketPolicyError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketReplicationError> for Error

§

fn from(err: PutBucketReplicationError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketRequestPaymentError> for Error

§

fn from(err: PutBucketRequestPaymentError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketTaggingError> for Error

§

fn from(err: PutBucketTaggingError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketVersioningError> for Error

§

fn from(err: PutBucketVersioningError) -> Error

Converts to this type from the input type.
§

impl From<PutBucketWebsiteError> for Error

§

fn from(err: PutBucketWebsiteError) -> Error

Converts to this type from the input type.
§

impl From<PutObjectAclError> for Error

§

fn from(err: PutObjectAclError) -> Error

Converts to this type from the input type.
§

impl From<PutObjectError> for Error

§

fn from(err: PutObjectError) -> Error

Converts to this type from the input type.
§

impl From<PutObjectLegalHoldError> for Error

§

fn from(err: PutObjectLegalHoldError) -> Error

Converts to this type from the input type.
§

impl From<PutObjectLockConfigurationError> for Error

§

fn from(err: PutObjectLockConfigurationError) -> Error

Converts to this type from the input type.
§

impl From<PutObjectRetentionError> for Error

§

fn from(err: PutObjectRetentionError) -> Error

Converts to this type from the input type.
§

impl From<PutObjectTaggingError> for Error

§

fn from(err: PutObjectTaggingError) -> Error

Converts to this type from the input type.
§

impl From<PutPublicAccessBlockError> for Error

§

fn from(err: PutPublicAccessBlockError) -> Error

Converts to this type from the input type.
§

impl From<RestoreObjectError> for Error

§

fn from(err: RestoreObjectError) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<AbortMultipartUploadError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<AbortMultipartUploadError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<CompleteMultipartUploadError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<CompleteMultipartUploadError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<CopyObjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<CopyObjectError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<CreateBucketError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<CreateBucketError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<CreateMultipartUploadError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<CreateMultipartUploadError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketAnalyticsConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketAnalyticsConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketCorsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketCorsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketEncryptionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketEncryptionError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketIntelligentTieringConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from( err: SdkError<DeleteBucketIntelligentTieringConfigurationError, R> ) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketInventoryConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketInventoryConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketLifecycleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketLifecycleError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketMetricsConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketMetricsConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketOwnershipControlsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketOwnershipControlsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketPolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketPolicyError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketReplicationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketReplicationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketTaggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketTaggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteBucketWebsiteError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteBucketWebsiteError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteObjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteObjectError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteObjectTaggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteObjectTaggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeleteObjectsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeleteObjectsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<DeletePublicAccessBlockError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<DeletePublicAccessBlockError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketAccelerateConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketAccelerateConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketAclError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketAclError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketAnalyticsConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketAnalyticsConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketCorsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketCorsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketEncryptionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketEncryptionError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketIntelligentTieringConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from( err: SdkError<GetBucketIntelligentTieringConfigurationError, R> ) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketInventoryConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketInventoryConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketLifecycleConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketLifecycleConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketLocationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketLocationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketLoggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketLoggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketMetricsConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketMetricsConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketNotificationConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketNotificationConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketOwnershipControlsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketOwnershipControlsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketPolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketPolicyError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketPolicyStatusError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketPolicyStatusError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketReplicationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketReplicationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketRequestPaymentError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketRequestPaymentError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketTaggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketTaggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketVersioningError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketVersioningError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetBucketWebsiteError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetBucketWebsiteError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectAclError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectAclError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectAttributesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectAttributesError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectLegalHoldError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectLegalHoldError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectLockConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectLockConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectRetentionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectRetentionError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectTaggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectTaggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetObjectTorrentError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetObjectTorrentError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<GetPublicAccessBlockError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<GetPublicAccessBlockError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<HeadBucketError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<HeadBucketError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<HeadObjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<HeadObjectError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListBucketAnalyticsConfigurationsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListBucketAnalyticsConfigurationsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListBucketIntelligentTieringConfigurationsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from( err: SdkError<ListBucketIntelligentTieringConfigurationsError, R> ) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListBucketInventoryConfigurationsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListBucketInventoryConfigurationsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListBucketMetricsConfigurationsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListBucketMetricsConfigurationsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListBucketsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListBucketsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListMultipartUploadsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListMultipartUploadsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListObjectVersionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListObjectVersionsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListObjectsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListObjectsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListObjectsV2Error, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListObjectsV2Error, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<ListPartsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<ListPartsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketAccelerateConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketAccelerateConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketAclError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketAclError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketAnalyticsConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketAnalyticsConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketCorsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketCorsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketEncryptionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketEncryptionError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketIntelligentTieringConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from( err: SdkError<PutBucketIntelligentTieringConfigurationError, R> ) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketInventoryConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketInventoryConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketLifecycleConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketLifecycleConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketLoggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketLoggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketMetricsConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketMetricsConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketNotificationConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketNotificationConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketOwnershipControlsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketOwnershipControlsError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketPolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketPolicyError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketReplicationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketReplicationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketRequestPaymentError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketRequestPaymentError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketTaggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketTaggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketVersioningError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketVersioningError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutBucketWebsiteError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutBucketWebsiteError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutObjectAclError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutObjectAclError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutObjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutObjectError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutObjectLegalHoldError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutObjectLegalHoldError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutObjectLockConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutObjectLockConfigurationError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutObjectRetentionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutObjectRetentionError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutObjectTaggingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutObjectTaggingError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<PutPublicAccessBlockError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<PutPublicAccessBlockError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<RestoreObjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<RestoreObjectError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<SelectObjectContentError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<SelectObjectContentError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<SelectObjectContentEventStreamError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<SelectObjectContentEventStreamError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<UploadPartCopyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<UploadPartCopyError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<UploadPartError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<UploadPartError, R>) -> Error

Converts to this type from the input type.
§

impl<R> From<SdkError<WriteGetObjectResponseError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

§

fn from(err: SdkError<WriteGetObjectResponseError, R>) -> Error

Converts to this type from the input type.
§

impl From<SelectObjectContentError> for Error

§

fn from(err: SelectObjectContentError) -> Error

Converts to this type from the input type.
§

impl From<SelectObjectContentEventStreamError> for Error

§

fn from(err: SelectObjectContentEventStreamError) -> Error

Converts to this type from the input type.
§

impl From<UploadPartCopyError> for Error

§

fn from(err: UploadPartCopyError) -> Error

Converts to this type from the input type.
§

impl From<UploadPartError> for Error

§

fn from(err: UploadPartError) -> Error

Converts to this type from the input type.
§

impl From<WriteGetObjectResponseError> for Error

§

fn from(err: WriteGetObjectResponseError) -> Error

Converts to this type from the input type.
§

impl RequestId for Error

§

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

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

impl RequestIdExt for Error

§

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

Returns the S3 Extended Request ID necessary when contacting AWS Support.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32 ) -> TaggedParser<'a, Implicit, Self, E>

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

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

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<E> Provider for Ewhere E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

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

source§

default fn to_string(&self) -> String

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

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> AnyError for Twhere T: Error + Send + Sync + 'static,

§

impl<T> CacheError for Twhere T: Error + Send + Sync + 'static,