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]
impl GenerateRandomError
pub fn from_body(body: &str) -> GenerateRandomError
[src]
pub fn from_body(body: &str) -> GenerateRandomError
Trait Implementations
impl Debug for GenerateRandomError
[src]
impl Debug for GenerateRandomError
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 GenerateRandomError
[src]
impl PartialEq for GenerateRandomError
fn eq(&self, other: &GenerateRandomError) -> bool
[src]
fn eq(&self, other: &GenerateRandomError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GenerateRandomError) -> bool
[src]
fn ne(&self, other: &GenerateRandomError) -> bool
This method tests for !=
.
impl From<Error> for GenerateRandomError
[src]
impl From<Error> for GenerateRandomError
fn from(err: Error) -> GenerateRandomError
[src]
fn from(err: Error) -> GenerateRandomError
Performs the conversion.
impl From<CredentialsError> for GenerateRandomError
[src]
impl From<CredentialsError> for GenerateRandomError
fn from(err: CredentialsError) -> GenerateRandomError
[src]
fn from(err: CredentialsError) -> GenerateRandomError
Performs the conversion.
impl From<HttpDispatchError> for GenerateRandomError
[src]
impl From<HttpDispatchError> for GenerateRandomError
fn from(err: HttpDispatchError) -> GenerateRandomError
[src]
fn from(err: HttpDispatchError) -> GenerateRandomError
Performs the conversion.
impl From<Error> for GenerateRandomError
[src]
impl From<Error> for GenerateRandomError
fn from(err: Error) -> GenerateRandomError
[src]
fn from(err: Error) -> GenerateRandomError
Performs the conversion.
impl Display for GenerateRandomError
[src]
impl Display for GenerateRandomError
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 GenerateRandomError
[src]
impl Error for GenerateRandomError
Auto Trait Implementations
impl Send for GenerateRandomError
impl Send for GenerateRandomError
impl Sync for GenerateRandomError
impl Sync for GenerateRandomError