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