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