Enum strois::S3ErrorCode
source · pub enum S3ErrorCode {
Show 74 variants
AccessDenied,
AccountProblem,
AllAccessDisabled,
AmbiguousGrantByEmailAddress,
AuthorizationHeaderMalformed,
BadDigest,
BucketAlreadyExists,
BucketAlreadyOwnedByYou,
BucketNotEmpty,
CredentialsNotSupported,
CrossLocationLoggingProhibited,
EntityTooSmall,
EntityTooLarge,
ExpiredToken,
IllegalVersioningConfigurationException,
IncompleteBody,
IncorrectNumberOfFilesInPostRequest,
InlineDataTooLarge,
InvalidAccessKeyId,
InvalidAddressingHeader,
InvalidArgument,
InvalidBucketName,
InvalidBucketState,
InvalidDigest,
InvalidLocationConstraint,
InvalidObjectState,
InvalidPart,
InvalidPartOrder,
InvalidPayer,
InvalidPolicyDocument,
InvalidRange,
InvalidRequest,
InvalidSecurity,
InvalidSOAPRequest,
InvalidStorageClass,
InvalidTargetBucketForLogging,
InvalidToken,
InvalidURI,
MalformedPOSTRequest,
MalformedXML,
MaxMessageLengthExceeded,
MetadataTooLarge,
MethodNotAllowed,
MissingAttachment,
MissingContentLength,
MissingSecurityElement,
MissingSecurityHeader,
NoLoggingStatusForKey,
NoSuchBucket,
NoSuchBucketPolicy,
NoSuchKey,
NoSuchLifecycleConfiguration,
NoSuchUpload,
NoSuchVersion,
NotImplemented,
NotSignedUp,
OperationAborted,
PermanentRedirect,
PreconditionFailed,
Redirect,
RestoreAlreadyInProgress,
RequestIsNotMultiPartContent,
RequestTimeout,
RequestTimeTooSkewed,
SignatureDoesNotMatch,
ServiceUnavailable,
SlowDown,
TemporaryRedirect,
TokenRefreshRequired,
TooManyBuckets,
UnexpectedContent,
UnresolvableGrantByEmailAddress,
UserKeyMustBeSpecified,
Unknown,
}
Variants§
AccessDenied
AccountProblem
AllAccessDisabled
AmbiguousGrantByEmailAddress
AuthorizationHeaderMalformed
BadDigest
BucketAlreadyExists
BucketAlreadyOwnedByYou
BucketNotEmpty
CredentialsNotSupported
CrossLocationLoggingProhibited
EntityTooSmall
EntityTooLarge
ExpiredToken
IllegalVersioningConfigurationException
IncompleteBody
IncorrectNumberOfFilesInPostRequest
InlineDataTooLarge
InvalidAccessKeyId
InvalidAddressingHeader
InvalidArgument
InvalidBucketName
InvalidBucketState
InvalidDigest
InvalidLocationConstraint
InvalidObjectState
InvalidPart
InvalidPartOrder
InvalidPayer
InvalidPolicyDocument
InvalidRange
InvalidRequest
InvalidSecurity
InvalidSOAPRequest
InvalidStorageClass
InvalidTargetBucketForLogging
InvalidToken
InvalidURI
MalformedPOSTRequest
MalformedXML
MaxMessageLengthExceeded
MetadataTooLarge
MethodNotAllowed
MissingAttachment
MissingContentLength
MissingSecurityElement
MissingSecurityHeader
NoLoggingStatusForKey
NoSuchBucket
NoSuchBucketPolicy
NoSuchKey
NoSuchLifecycleConfiguration
NoSuchUpload
NoSuchVersion
NotImplemented
NotSignedUp
OperationAborted
PermanentRedirect
PreconditionFailed
Redirect
RestoreAlreadyInProgress
RequestIsNotMultiPartContent
RequestTimeout
RequestTimeTooSkewed
SignatureDoesNotMatch
SlowDown
TemporaryRedirect
TokenRefreshRequired
TooManyBuckets
UnexpectedContent
UnresolvableGrantByEmailAddress
UserKeyMustBeSpecified
Unknown
That’s unexpected. Please open a GitHub issue specifying which version of S3 you’re using.
Trait Implementations§
source§impl Clone for S3ErrorCode
impl Clone for S3ErrorCode
source§fn clone(&self) -> S3ErrorCode
fn clone(&self) -> S3ErrorCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for S3ErrorCode
impl Debug for S3ErrorCode
source§impl<'de> Deserialize<'de> for S3ErrorCode
impl<'de> Deserialize<'de> for S3ErrorCode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for S3ErrorCode
impl Display for S3ErrorCode
source§impl Error for S3ErrorCode
impl Error for S3ErrorCode
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for S3ErrorCode
impl PartialEq for S3ErrorCode
source§fn eq(&self, other: &S3ErrorCode) -> bool
fn eq(&self, other: &S3ErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for S3ErrorCode
impl Serialize for S3ErrorCode
impl Copy for S3ErrorCode
impl Eq for S3ErrorCode
impl StructuralEq for S3ErrorCode
impl StructuralPartialEq for S3ErrorCode
Auto Trait Implementations§
impl RefUnwindSafe for S3ErrorCode
impl Send for S3ErrorCode
impl Sync for S3ErrorCode
impl Unpin for S3ErrorCode
impl UnwindSafe for S3ErrorCode
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
Mutably borrows from an owned value. Read more