Enum rusoto_s3::RestoreObjectError
[−]
[src]
pub enum RestoreObjectError { ObjectAlreadyInActiveTierError(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by RestoreObject
Variants
ObjectAlreadyInActiveTierError(String)
This operation is not allowed against this storage tier
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 RestoreObjectError
[src]
pub fn from_body(body: &str) -> RestoreObjectError
[src]
Trait Implementations
impl Debug for RestoreObjectError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for RestoreObjectError
[src]
fn eq(&self, __arg_0: &RestoreObjectError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RestoreObjectError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for RestoreObjectError
[src]
fn from(err: XmlParseError) -> RestoreObjectError
[src]
Performs the conversion.
impl From<CredentialsError> for RestoreObjectError
[src]
fn from(err: CredentialsError) -> RestoreObjectError
[src]
Performs the conversion.
impl From<HttpDispatchError> for RestoreObjectError
[src]
fn from(err: HttpDispatchError) -> RestoreObjectError
[src]
Performs the conversion.
impl From<Error> for RestoreObjectError
[src]
fn from(err: Error) -> RestoreObjectError
[src]
Performs the conversion.
impl Display for RestoreObjectError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more