Struct pancake_engine_ssi::opers::txn::CachedSnap
source · struct CachedSnap {
commit_ver_hi_incl: CommitVer,
commit_ver_lo_excl: Option<CommitVer>,
iter: IteratorCache<TxnSnapIterator, &'static CommittedUnit>,
}Fields§
§commit_ver_hi_incl: CommitVer§commit_ver_lo_excl: Option<CommitVer>§iter: IteratorCache<TxnSnapIterator, &'static CommittedUnit>The lifetime is marked as 'static for our convenience.
Implementations§
source§impl CachedSnap
impl CachedSnap
fn new( commit_ver_hi_incl: CommitVer, commit_ver_lo_excl: Option<CommitVer>, list_snap: ListSnapshot<CommittedUnit> ) -> Self
fn iter<'s>(&'s mut self) -> impl 's + Iterator<Item = &'static CommittedUnit>
Auto Trait Implementations§
impl RefUnwindSafe for CachedSnap
impl Send for CachedSnap
impl Sync for CachedSnap
impl Unpin for CachedSnap
impl UnwindSafe for CachedSnap
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