pub struct RollbackMark(/* private fields */);Expand description
An opaque log-length marker (ST-036) — see UndoLog::checkpoint_marker.
The wrapped index is absolute over the log’s entire lifetime (it
includes entries UndoLog::fossil_collect has already trimmed), never
merely an index into the log’s currently retained Vec — see
UndoLog::rollback_to’s own doc comment for why that distinction is
what makes the fossil-horizon check correct.
Trait Implementations§
Source§impl Clone for RollbackMark
impl Clone for RollbackMark
impl Copy for RollbackMark
Source§impl Debug for RollbackMark
impl Debug for RollbackMark
impl Eq for RollbackMark
Source§impl PartialEq for RollbackMark
impl PartialEq for RollbackMark
impl StructuralPartialEq for RollbackMark
Auto Trait Implementations§
impl Freeze for RollbackMark
impl RefUnwindSafe for RollbackMark
impl Send for RollbackMark
impl Sync for RollbackMark
impl Unpin for RollbackMark
impl UnsafeUnpin for RollbackMark
impl UnwindSafe for RollbackMark
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.