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