pub struct TxId {
pub pack_id: Option<u64>,
pub extent: Option<(u64, u64)>,
pub push_seq: Option<u64>,
}Expand description
The receipt for one durable transaction.
Not an opaque counter: a push spans two durable logs — the one that claims the pack’s extent and the one whose frame is the ref transaction — and a caller that has to prove a push landed needs a coordinate in each. Every field is applied output, read back from what was written.
Fields§
§pack_id: Option<u64>Dense id the push path assigned this pack, and the key the indexed bit is
kept under. None when the transaction carried no pack.
extent: Option<(u64, u64)>Where the verbatim pack bytes are, as the journal row records them.
push_seq: Option<u64>The ref log’s ordering authority for the ref namespace. None when the
transaction carried no ref update.
Trait Implementations§
impl Copy for TxId
impl Eq for TxId
impl StructuralPartialEq for TxId
Auto Trait Implementations§
impl Freeze for TxId
impl RefUnwindSafe for TxId
impl Send for TxId
impl Sync for TxId
impl Unpin for TxId
impl UnsafeUnpin for TxId
impl UnwindSafe for TxId
Blanket Implementations§
impl<T> Allocation for T
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.