pub enum PurgePlan {
Remove,
Noop,
Conflict(Box<Conflict>),
}Expand description
What a store must do for a purge.
Variants§
Remove
Physically remove the stored record; return DeleteResult::Deleted.
Noop
Nothing is stored; return DeleteResult::Deleted.
Conflict(Box<Conflict>)
Remove nothing; return DeleteResult::Conflict.
Trait Implementations§
impl Eq for PurgePlan
impl StructuralPartialEq for PurgePlan
Auto Trait Implementations§
impl Freeze for PurgePlan
impl RefUnwindSafe for PurgePlan
impl Send for PurgePlan
impl Sync for PurgePlan
impl Unpin for PurgePlan
impl UnsafeUnpin for PurgePlan
impl UnwindSafe for PurgePlan
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