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