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