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