pub enum RevertWorkerTarget {
RevertToOplogIndex(OplogIndex),
RevertLastInvocations(u64),
}
Expand description
Target parameter for the revert-worker
operation
Variants§
RevertToOplogIndex(OplogIndex)
Revert to a specific oplog index. The given index will be the last one to be kept.
RevertLastInvocations(u64)
Revert the last N invocations.
Trait Implementations§
Source§impl Clone for RevertWorkerTarget
impl Clone for RevertWorkerTarget
Source§fn clone(&self) -> RevertWorkerTarget
fn clone(&self) -> RevertWorkerTarget
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RevertWorkerTarget
impl Debug for RevertWorkerTarget
impl Copy for RevertWorkerTarget
Auto Trait Implementations§
impl Freeze for RevertWorkerTarget
impl RefUnwindSafe for RevertWorkerTarget
impl Send for RevertWorkerTarget
impl Sync for RevertWorkerTarget
impl Unpin for RevertWorkerTarget
impl UnwindSafe for RevertWorkerTarget
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