Enum rusoto_cloudhsmv2::CreateHsmError [−][src]
pub enum CreateHsmError { CloudHsmAccessDenied(String), CloudHsmInternalFailure(String), CloudHsmInvalidRequest(String), CloudHsmResourceNotFound(String), CloudHsmService(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateHsm
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 CreateHsmError
[src]
impl CreateHsmError
pub fn from_body(body: &str) -> CreateHsmError
[src]
pub fn from_body(body: &str) -> CreateHsmError
Trait Implementations
impl Debug for CreateHsmError
[src]
impl Debug for CreateHsmError
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 CreateHsmError
[src]
impl PartialEq for CreateHsmError
fn eq(&self, other: &CreateHsmError) -> bool
[src]
fn eq(&self, other: &CreateHsmError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateHsmError) -> bool
[src]
fn ne(&self, other: &CreateHsmError) -> bool
This method tests for !=
.
impl From<Error> for CreateHsmError
[src]
impl From<Error> for CreateHsmError
fn from(err: Error) -> CreateHsmError
[src]
fn from(err: Error) -> CreateHsmError
Performs the conversion.
impl From<CredentialsError> for CreateHsmError
[src]
impl From<CredentialsError> for CreateHsmError
fn from(err: CredentialsError) -> CreateHsmError
[src]
fn from(err: CredentialsError) -> CreateHsmError
Performs the conversion.
impl From<HttpDispatchError> for CreateHsmError
[src]
impl From<HttpDispatchError> for CreateHsmError
fn from(err: HttpDispatchError) -> CreateHsmError
[src]
fn from(err: HttpDispatchError) -> CreateHsmError
Performs the conversion.
impl From<Error> for CreateHsmError
[src]
impl From<Error> for CreateHsmError
fn from(err: Error) -> CreateHsmError
[src]
fn from(err: Error) -> CreateHsmError
Performs the conversion.
impl Display for CreateHsmError
[src]
impl Display for CreateHsmError
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 CreateHsmError
[src]
impl Error for CreateHsmError
Auto Trait Implementations
impl Send for CreateHsmError
impl Send for CreateHsmError
impl Sync for CreateHsmError
impl Sync for CreateHsmError