pub enum DeleteProtectionError {
InternalError(String),
OptimisticLock(String),
ResourceNotFound(String),
}Expand description
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 resource state has been modified by another client. Retrieve the resource and then retry your request.
ResourceNotFound(String)
Exception indicating the specified resource does not exist.
Implementations§
Source§impl DeleteProtectionError
impl DeleteProtectionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteProtectionError>
Trait Implementations§
Source§impl Debug for DeleteProtectionError
impl Debug for DeleteProtectionError
Source§impl Display for DeleteProtectionError
impl Display for DeleteProtectionError
Source§impl Error for DeleteProtectionError
impl Error for DeleteProtectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for DeleteProtectionError
impl PartialEq for DeleteProtectionError
impl StructuralPartialEq for DeleteProtectionError
Auto Trait Implementations§
impl Freeze for DeleteProtectionError
impl RefUnwindSafe for DeleteProtectionError
impl Send for DeleteProtectionError
impl Sync for DeleteProtectionError
impl Unpin for DeleteProtectionError
impl UnwindSafe for DeleteProtectionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more