Enum rusoto_shield::DescribeSubscriptionError [−][src]
pub enum DescribeSubscriptionError { InternalError(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DescribeSubscription
Variants
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
ResourceNotFound(String)
Exception indicating the specified resource does not exist.
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 DescribeSubscriptionError
[src]
impl DescribeSubscriptionError
pub fn from_body(body: &str) -> DescribeSubscriptionError
[src]
pub fn from_body(body: &str) -> DescribeSubscriptionError
Trait Implementations
impl Debug for DescribeSubscriptionError
[src]
impl Debug for DescribeSubscriptionError
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 DescribeSubscriptionError
[src]
impl PartialEq for DescribeSubscriptionError
fn eq(&self, other: &DescribeSubscriptionError) -> bool
[src]
fn eq(&self, other: &DescribeSubscriptionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DescribeSubscriptionError) -> bool
[src]
fn ne(&self, other: &DescribeSubscriptionError) -> bool
This method tests for !=
.
impl From<Error> for DescribeSubscriptionError
[src]
impl From<Error> for DescribeSubscriptionError
fn from(err: Error) -> DescribeSubscriptionError
[src]
fn from(err: Error) -> DescribeSubscriptionError
Performs the conversion.
impl From<CredentialsError> for DescribeSubscriptionError
[src]
impl From<CredentialsError> for DescribeSubscriptionError
fn from(err: CredentialsError) -> DescribeSubscriptionError
[src]
fn from(err: CredentialsError) -> DescribeSubscriptionError
Performs the conversion.
impl From<HttpDispatchError> for DescribeSubscriptionError
[src]
impl From<HttpDispatchError> for DescribeSubscriptionError
fn from(err: HttpDispatchError) -> DescribeSubscriptionError
[src]
fn from(err: HttpDispatchError) -> DescribeSubscriptionError
Performs the conversion.
impl From<Error> for DescribeSubscriptionError
[src]
impl From<Error> for DescribeSubscriptionError
fn from(err: Error) -> DescribeSubscriptionError
[src]
fn from(err: Error) -> DescribeSubscriptionError
Performs the conversion.
impl Display for DescribeSubscriptionError
[src]
impl Display for DescribeSubscriptionError
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 DescribeSubscriptionError
[src]
impl Error for DescribeSubscriptionError
Auto Trait Implementations
impl Send for DescribeSubscriptionError
impl Send for DescribeSubscriptionError
impl Sync for DescribeSubscriptionError
impl Sync for DescribeSubscriptionError