Enum rusoto_storagegateway::AddCacheError [−][src]
pub enum AddCacheError { InternalServerError(String), InvalidGatewayRequest(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by AddCache
Variants
InternalServerError(String)
An internal server error has occurred during the request. For more information, see the error and message fields.
InvalidGatewayRequest(String)
An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
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 AddCacheError
[src]
impl AddCacheError
pub fn from_body(body: &str) -> AddCacheError
[src]
pub fn from_body(body: &str) -> AddCacheError
Trait Implementations
impl Debug for AddCacheError
[src]
impl Debug for AddCacheError
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 AddCacheError
[src]
impl PartialEq for AddCacheError
fn eq(&self, other: &AddCacheError) -> bool
[src]
fn eq(&self, other: &AddCacheError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AddCacheError) -> bool
[src]
fn ne(&self, other: &AddCacheError) -> bool
This method tests for !=
.
impl From<Error> for AddCacheError
[src]
impl From<Error> for AddCacheError
fn from(err: Error) -> AddCacheError
[src]
fn from(err: Error) -> AddCacheError
Performs the conversion.
impl From<CredentialsError> for AddCacheError
[src]
impl From<CredentialsError> for AddCacheError
fn from(err: CredentialsError) -> AddCacheError
[src]
fn from(err: CredentialsError) -> AddCacheError
Performs the conversion.
impl From<HttpDispatchError> for AddCacheError
[src]
impl From<HttpDispatchError> for AddCacheError
fn from(err: HttpDispatchError) -> AddCacheError
[src]
fn from(err: HttpDispatchError) -> AddCacheError
Performs the conversion.
impl From<Error> for AddCacheError
[src]
impl From<Error> for AddCacheError
fn from(err: Error) -> AddCacheError
[src]
fn from(err: Error) -> AddCacheError
Performs the conversion.
impl Display for AddCacheError
[src]
impl Display for AddCacheError
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 AddCacheError
[src]
impl Error for AddCacheError
Auto Trait Implementations
impl Send for AddCacheError
impl Send for AddCacheError
impl Sync for AddCacheError
impl Sync for AddCacheError