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