Enum rusoto_cloudhsm::DeleteHsmError
[−]
[src]
pub enum DeleteHsmError { CloudHsmInternal(String), CloudHsmService(String), InvalidRequest(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteHsm
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 DeleteHsmError
[src]
pub fn from_body(body: &str) -> DeleteHsmError
[src]
Trait Implementations
impl Debug for DeleteHsmError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for DeleteHsmError
[src]
fn eq(&self, __arg_0: &DeleteHsmError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeleteHsmError) -> bool
[src]
This method tests for !=
.
impl From<Error> for DeleteHsmError
[src]
fn from(err: Error) -> DeleteHsmError
[src]
Performs the conversion.
impl From<CredentialsError> for DeleteHsmError
[src]
fn from(err: CredentialsError) -> DeleteHsmError
[src]
Performs the conversion.
impl From<HttpDispatchError> for DeleteHsmError
[src]
fn from(err: HttpDispatchError) -> DeleteHsmError
[src]
Performs the conversion.
impl From<Error> for DeleteHsmError
[src]
fn from(err: Error) -> DeleteHsmError
[src]
Performs the conversion.
impl Display for DeleteHsmError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more