Enum rusoto_cloudhsm::CreateHsmError
[−]
[src]
pub enum CreateHsmError { CloudHsmInternal(String), CloudHsmService(String), InvalidRequest(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateHsm
Variants
CloudHsmInternal(String)
Indicates that an internal error occurred.
CloudHsmService(String)
Indicates that an exception occurred in the AWS CloudHSM service.
InvalidRequest(String)
Indicates that one or more of the request parameters are not valid.
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 CreateHsmError
[src]
fn from_body(body: &str) -> CreateHsmError
Trait Implementations
impl Debug for CreateHsmError
[src]
impl PartialEq for CreateHsmError
[src]
fn eq(&self, __arg_0: &CreateHsmError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateHsmError) -> bool
This method tests for !=
.
impl From<Error> for CreateHsmError
[src]
fn from(err: Error) -> CreateHsmError
Performs the conversion.
impl From<CredentialsError> for CreateHsmError
[src]
fn from(err: CredentialsError) -> CreateHsmError
Performs the conversion.
impl From<HttpDispatchError> for CreateHsmError
[src]
fn from(err: HttpDispatchError) -> CreateHsmError
Performs the conversion.