Struct foundationdb::transaction::Versionstamp
source · pub struct Versionstamp(_);
Expand description
A versionstamp is a 10 byte, unique, monotonically (but not sequentially) increasing value for each committed transaction. The first 8 bytes are the committed version of the database. The last 2 bytes are monotonic in the serialization order for transactions.
Implementations§
source§impl Versionstamp
impl Versionstamp
sourcepub fn versionstamp(self) -> [u8; 10]
pub fn versionstamp(self) -> [u8; 10]
get versionstamp
Trait Implementations§
source§impl Clone for Versionstamp
impl Clone for Versionstamp
source§fn clone(&self) -> Versionstamp
fn clone(&self) -> Versionstamp
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 more