Enum rusoto_s3::GetObjectError
[−]
[src]
pub enum GetObjectError { NoSuchKey(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetObject
Variants
NoSuchKey(String)
The specified key does not exist.
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 GetObjectError
[src]
fn from_body(body: &str) -> GetObjectError
Trait Implementations
impl Debug for GetObjectError
[src]
impl PartialEq for GetObjectError
[src]
fn eq(&self, __arg_0: &GetObjectError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetObjectError) -> bool
This method tests for !=
.
impl From<XmlParseError> for GetObjectError
[src]
fn from(err: XmlParseError) -> GetObjectError
Performs the conversion.
impl From<CredentialsError> for GetObjectError
[src]
fn from(err: CredentialsError) -> GetObjectError
Performs the conversion.
impl From<HttpDispatchError> for GetObjectError
[src]
fn from(err: HttpDispatchError) -> GetObjectError
Performs the conversion.