pub struct CommitReceipt {
pub transaction_id: TransactionId,
pub commit_ts: HlcTimestamp,
pub log_position: LogPosition,
pub durability: DurabilityLevel,
}Expand description
Proof that a command crossed its durable commit fence (spec S1B-004).
Once a receipt exists, the caller is never told the write rolled back.
Fields§
§transaction_id: TransactionIdTransaction this command committed.
commit_ts: HlcTimestampCommit timestamp assigned by the log authority.
log_position: LogPositionPosition of the committed entry.
durability: DurabilityLevelDurability level that was satisfied.
Trait Implementations§
Source§impl Clone for CommitReceipt
impl Clone for CommitReceipt
Source§fn clone(&self) -> CommitReceipt
fn clone(&self) -> CommitReceipt
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 CommitReceipt
impl RefUnwindSafe for CommitReceipt
impl Send for CommitReceipt
impl Sync for CommitReceipt
impl Unpin for CommitReceipt
impl UnsafeUnpin for CommitReceipt
impl UnwindSafe for CommitReceipt
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