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