Enum rusoto_cloudhsmv2::DeleteHsmError [−][src]
pub enum DeleteHsmError { CloudHsmAccessDenied(String), CloudHsmInternalFailure(String), CloudHsmInvalidRequest(String), CloudHsmResourceNotFound(String), CloudHsmService(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteHsm
Variants
CloudHsmAccessDenied(String)
The request was rejected because the requester does not have permission to perform the requested operation.
CloudHsmInternalFailure(String)
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
CloudHsmInvalidRequest(String)
The request was rejected because it is not a valid request.
CloudHsmResourceNotFound(String)
The request was rejected because it refers to a resource that cannot be found.
CloudHsmService(String)
The request was rejected because an error occurred.
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]
impl DeleteHsmError
pub fn from_body(body: &str) -> DeleteHsmError
[src]
pub fn from_body(body: &str) -> DeleteHsmError
Trait Implementations
impl Debug for DeleteHsmError
[src]
impl Debug for DeleteHsmError
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 DeleteHsmError
[src]
impl PartialEq for DeleteHsmError
fn eq(&self, other: &DeleteHsmError) -> bool
[src]
fn eq(&self, other: &DeleteHsmError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeleteHsmError) -> bool
[src]
fn ne(&self, other: &DeleteHsmError) -> bool
This method tests for !=
.
impl From<Error> for DeleteHsmError
[src]
impl From<Error> for DeleteHsmError
fn from(err: Error) -> DeleteHsmError
[src]
fn from(err: Error) -> DeleteHsmError
Performs the conversion.
impl From<CredentialsError> for DeleteHsmError
[src]
impl From<CredentialsError> for DeleteHsmError
fn from(err: CredentialsError) -> DeleteHsmError
[src]
fn from(err: CredentialsError) -> DeleteHsmError
Performs the conversion.
impl From<HttpDispatchError> for DeleteHsmError
[src]
impl From<HttpDispatchError> for DeleteHsmError
fn from(err: HttpDispatchError) -> DeleteHsmError
[src]
fn from(err: HttpDispatchError) -> DeleteHsmError
Performs the conversion.
impl From<Error> for DeleteHsmError
[src]
impl From<Error> for DeleteHsmError
fn from(err: Error) -> DeleteHsmError
[src]
fn from(err: Error) -> DeleteHsmError
Performs the conversion.
impl Display for DeleteHsmError
[src]
impl Display for DeleteHsmError
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 DeleteHsmError
[src]
impl Error for DeleteHsmError
Auto Trait Implementations
impl Send for DeleteHsmError
impl Send for DeleteHsmError
impl Sync for DeleteHsmError
impl Sync for DeleteHsmError