pub struct CommitSubmission {
pub capsule_object_id: ObjectId,
pub capsule_digest: [u8; 32],
pub write_set_pages: Vec<PageNumber>,
pub witness_refs: Vec<ObjectId>,
pub edge_ids: Vec<ObjectId>,
pub merge_witness_ids: Vec<ObjectId>,
pub txn_token: TxnToken,
pub begin_seq: CommitSeq,
}Expand description
A commit submission from a writer to the WriteCoordinator (§7.11.1 step 7).
Contains everything the coordinator needs to validate and commit the transaction without decoding the full capsule.
Fields§
§capsule_object_id: ObjectIdContent-addressed identity of the persisted capsule.
capsule_digest: [u8; 32]BLAKE3 digest of the capsule bytes (for coordinator validation).
write_set_pages: Vec<PageNumber>Page numbers touched by this transaction (no false negatives).
witness_refs: Vec<ObjectId>SSI witness evidence object refs.
edge_ids: Vec<ObjectId>SSI dependency edge object refs.
merge_witness_ids: Vec<ObjectId>SSI merge witness object refs.
txn_token: TxnTokenTransaction identity.
begin_seq: CommitSeqSnapshot basis (the commit_seq at BEGIN time).
Trait Implementations§
Source§impl Clone for CommitSubmission
impl Clone for CommitSubmission
Source§fn clone(&self) -> CommitSubmission
fn clone(&self) -> CommitSubmission
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommitSubmission
impl RefUnwindSafe for CommitSubmission
impl Send for CommitSubmission
impl Sync for CommitSubmission
impl Unpin for CommitSubmission
impl UnsafeUnpin for CommitSubmission
impl UnwindSafe for CommitSubmission
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more