pub enum ObservationTimer {
Reset,
Preserve,
}Expand description
Whether a follower’s observation timer restarts or keeps running.
Variants§
Reset
The observed record is new or changed: anchor a fresh timer once the enclosing transaction is known to have committed.
Preserve
The observed record is exactly the one claimed by the input: keep the existing anchor.
Trait Implementations§
Source§impl Clone for ObservationTimer
impl Clone for ObservationTimer
Source§fn clone(&self) -> ObservationTimer
fn clone(&self) -> ObservationTimer
Returns a duplicate 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 ObservationTimer
impl Debug for ObservationTimer
Source§impl PartialEq for ObservationTimer
impl PartialEq for ObservationTimer
impl Copy for ObservationTimer
impl Eq for ObservationTimer
impl StructuralPartialEq for ObservationTimer
Auto Trait Implementations§
impl Freeze for ObservationTimer
impl RefUnwindSafe for ObservationTimer
impl Send for ObservationTimer
impl Sync for ObservationTimer
impl Unpin for ObservationTimer
impl UnwindSafe for ObservationTimer
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