Enum rusoto_s3::CreateBucketError
[−]
[src]
pub enum CreateBucketError { BucketAlreadyExists(String), BucketAlreadyOwnedByYou(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateBucket
Variants
BucketAlreadyExists(String)
The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.
BucketAlreadyOwnedByYou(String)
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl CreateBucketError
[src]
fn from_body(body: &str) -> CreateBucketError
Trait Implementations
impl Debug for CreateBucketError
[src]
impl PartialEq for CreateBucketError
[src]
fn eq(&self, __arg_0: &CreateBucketError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateBucketError) -> bool
This method tests for !=
.
impl From<XmlParseError> for CreateBucketError
[src]
fn from(err: XmlParseError) -> CreateBucketError
Performs the conversion.
impl From<CredentialsError> for CreateBucketError
[src]
fn from(err: CredentialsError) -> CreateBucketError
Performs the conversion.
impl From<HttpDispatchError> for CreateBucketError
[src]
fn from(err: HttpDispatchError) -> CreateBucketError
Performs the conversion.