Enum rusoto_kms::DescribeKeyError [−][src]
pub enum DescribeKeyError { DependencyTimeout(String), InvalidArn(String), KMSInternal(String), NotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DescribeKey
Variants
DependencyTimeout(String)
The system timed out while trying to fulfill the request. The request can be retried.
InvalidArn(String)
The request was rejected because a specified ARN was not valid.
KMSInternal(String)
The request was rejected because an internal exception occurred. The request can be retried.
NotFound(String)
The request was rejected because the specified entity or resource could not be found.
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 DescribeKeyError
[src]
impl DescribeKeyError
pub fn from_body(body: &str) -> DescribeKeyError
[src]
pub fn from_body(body: &str) -> DescribeKeyError
Trait Implementations
impl Debug for DescribeKeyError
[src]
impl Debug for DescribeKeyError
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 DescribeKeyError
[src]
impl PartialEq for DescribeKeyError
fn eq(&self, other: &DescribeKeyError) -> bool
[src]
fn eq(&self, other: &DescribeKeyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DescribeKeyError) -> bool
[src]
fn ne(&self, other: &DescribeKeyError) -> bool
This method tests for !=
.
impl From<Error> for DescribeKeyError
[src]
impl From<Error> for DescribeKeyError
fn from(err: Error) -> DescribeKeyError
[src]
fn from(err: Error) -> DescribeKeyError
Performs the conversion.
impl From<CredentialsError> for DescribeKeyError
[src]
impl From<CredentialsError> for DescribeKeyError
fn from(err: CredentialsError) -> DescribeKeyError
[src]
fn from(err: CredentialsError) -> DescribeKeyError
Performs the conversion.
impl From<HttpDispatchError> for DescribeKeyError
[src]
impl From<HttpDispatchError> for DescribeKeyError
fn from(err: HttpDispatchError) -> DescribeKeyError
[src]
fn from(err: HttpDispatchError) -> DescribeKeyError
Performs the conversion.
impl From<Error> for DescribeKeyError
[src]
impl From<Error> for DescribeKeyError
fn from(err: Error) -> DescribeKeyError
[src]
fn from(err: Error) -> DescribeKeyError
Performs the conversion.
impl Display for DescribeKeyError
[src]
impl Display for DescribeKeyError
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 DescribeKeyError
[src]
impl Error for DescribeKeyError
Auto Trait Implementations
impl Send for DescribeKeyError
impl Send for DescribeKeyError
impl Sync for DescribeKeyError
impl Sync for DescribeKeyError