Enum rusoto_kms::GenerateRandomError
[−]
[src]
pub enum GenerateRandomError { DependencyTimeout(String), KMSInternal(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GenerateRandom
Variants
DependencyTimeout(String)
The system timed out while trying to fulfill the request. The request can be retried.
KMSInternal(String)
The request was rejected because an internal exception occurred. The request can be retried.
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 GenerateRandomError
[src]
pub fn from_body(body: &str) -> GenerateRandomError
[src]
Trait Implementations
impl Debug for GenerateRandomError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for GenerateRandomError
[src]
fn eq(&self, __arg_0: &GenerateRandomError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GenerateRandomError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GenerateRandomError
[src]
fn from(err: Error) -> GenerateRandomError
[src]
Performs the conversion.
impl From<CredentialsError> for GenerateRandomError
[src]
fn from(err: CredentialsError) -> GenerateRandomError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GenerateRandomError
[src]
fn from(err: HttpDispatchError) -> GenerateRandomError
[src]
Performs the conversion.
impl From<Error> for GenerateRandomError
[src]
fn from(err: Error) -> GenerateRandomError
[src]
Performs the conversion.
impl Display for GenerateRandomError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more