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