Struct pancake_engine_ssi::lsm::unit::commit_info::CommitVer
source · pub struct CommitVer(u64);Expand description
The commit version uniquely identifies every commitment as well as the datastore state after the commitment.
The datastore’s commit version increases for the whole lifetime of the datastore instance.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
source§impl Ord for CommitVer
impl Ord for CommitVer
source§impl PartialEq for CommitVer
impl PartialEq for CommitVer
source§impl PartialOrd for CommitVer
impl PartialOrd for CommitVer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for CommitVer
impl Eq for CommitVer
impl StructuralEq for CommitVer
impl StructuralPartialEq for CommitVer
Auto Trait Implementations§
impl RefUnwindSafe for CommitVer
impl Send for CommitVer
impl Sync for CommitVer
impl Unpin for CommitVer
impl UnwindSafe for CommitVer
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