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