Enum rusoto_storagegateway::CreateSnapshotError
[−]
[src]
pub enum CreateSnapshotError { InternalServerError(String), InvalidGatewayRequest(String), ServiceUnavailableError(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateSnapshot
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.
An internal server error has occurred because the service is unavailable. 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 CreateSnapshotError
[src]
fn from_body(body: &str) -> CreateSnapshotError
Trait Implementations
impl Debug for CreateSnapshotError
[src]
impl PartialEq for CreateSnapshotError
[src]
fn eq(&self, __arg_0: &CreateSnapshotError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateSnapshotError) -> bool
This method tests for !=
.
impl From<Error> for CreateSnapshotError
[src]
fn from(err: Error) -> CreateSnapshotError
Performs the conversion.
impl From<CredentialsError> for CreateSnapshotError
[src]
fn from(err: CredentialsError) -> CreateSnapshotError
Performs the conversion.
impl From<HttpDispatchError> for CreateSnapshotError
[src]
fn from(err: HttpDispatchError) -> CreateSnapshotError
Performs the conversion.