Enum rusoto_shield::DescribeProtectionError [−][src]
pub enum DescribeProtectionError { InternalError(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DescribeProtection
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 DescribeProtectionError
[src]
impl DescribeProtectionError
pub fn from_body(body: &str) -> DescribeProtectionError
[src]
pub fn from_body(body: &str) -> DescribeProtectionError
Trait Implementations
impl Debug for DescribeProtectionError
[src]
impl Debug for DescribeProtectionError
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 DescribeProtectionError
[src]
impl PartialEq for DescribeProtectionError
fn eq(&self, other: &DescribeProtectionError) -> bool
[src]
fn eq(&self, other: &DescribeProtectionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DescribeProtectionError) -> bool
[src]
fn ne(&self, other: &DescribeProtectionError) -> bool
This method tests for !=
.
impl From<Error> for DescribeProtectionError
[src]
impl From<Error> for DescribeProtectionError
fn from(err: Error) -> DescribeProtectionError
[src]
fn from(err: Error) -> DescribeProtectionError
Performs the conversion.
impl From<CredentialsError> for DescribeProtectionError
[src]
impl From<CredentialsError> for DescribeProtectionError
fn from(err: CredentialsError) -> DescribeProtectionError
[src]
fn from(err: CredentialsError) -> DescribeProtectionError
Performs the conversion.
impl From<HttpDispatchError> for DescribeProtectionError
[src]
impl From<HttpDispatchError> for DescribeProtectionError
fn from(err: HttpDispatchError) -> DescribeProtectionError
[src]
fn from(err: HttpDispatchError) -> DescribeProtectionError
Performs the conversion.
impl From<Error> for DescribeProtectionError
[src]
impl From<Error> for DescribeProtectionError
fn from(err: Error) -> DescribeProtectionError
[src]
fn from(err: Error) -> DescribeProtectionError
Performs the conversion.
impl Display for DescribeProtectionError
[src]
impl Display for DescribeProtectionError
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 DescribeProtectionError
[src]
impl Error for DescribeProtectionError
Auto Trait Implementations
impl Send for DescribeProtectionError
impl Send for DescribeProtectionError
impl Sync for DescribeProtectionError
impl Sync for DescribeProtectionError