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