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]
impl CreateBucketError
pub fn from_body(body: &str) -> CreateBucketError
[src]
pub fn from_body(body: &str) -> CreateBucketError
Trait Implementations
impl Debug for CreateBucketError
[src]
impl Debug for CreateBucketError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CreateBucketError
[src]
impl PartialEq for CreateBucketError
fn eq(&self, other: &CreateBucketError) -> bool
[src]
fn eq(&self, other: &CreateBucketError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateBucketError) -> bool
[src]
fn ne(&self, other: &CreateBucketError) -> bool
This method tests for !=
.
impl From<XmlParseError> for CreateBucketError
[src]
impl From<XmlParseError> for CreateBucketError
fn from(err: XmlParseError) -> CreateBucketError
[src]
fn from(err: XmlParseError) -> CreateBucketError
Performs the conversion.
impl From<CredentialsError> for CreateBucketError
[src]
impl From<CredentialsError> for CreateBucketError
fn from(err: CredentialsError) -> CreateBucketError
[src]
fn from(err: CredentialsError) -> CreateBucketError
Performs the conversion.
impl From<HttpDispatchError> for CreateBucketError
[src]
impl From<HttpDispatchError> for CreateBucketError
fn from(err: HttpDispatchError) -> CreateBucketError
[src]
fn from(err: HttpDispatchError) -> CreateBucketError
Performs the conversion.
impl From<Error> for CreateBucketError
[src]
impl From<Error> for CreateBucketError
fn from(err: Error) -> CreateBucketError
[src]
fn from(err: Error) -> CreateBucketError
Performs the conversion.
impl Display for CreateBucketError
[src]
impl Display for CreateBucketError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for CreateBucketError
[src]
impl Error for CreateBucketError
Auto Trait Implementations
impl Send for CreateBucketError
impl Send for CreateBucketError
impl Sync for CreateBucketError
impl Sync for CreateBucketError