pub struct TxId(pub u64);Expand description
v4.41.1 opaque transaction handle. Returned by Engine::alloc_tx_id,
threaded through Engine::execute_in so dispatch can identify which
in-flight TX a statement belongs to. IMPLICIT_TX is the reserved
slot every legacy caller — engine self-tests, spg-cli, spg-embedded,
startup replay — implicitly uses through the unchanged
Engine::execute(sql) API. v4.41.1 keeps at most one active slot at
runtime (dispatch holds engine.write() across the wrap, same as
v4.34); the map shape is here to let v4.42 turn on N in-flight
implicit TXs without reshuffling the engine internals.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for TxId
impl Eq for TxId
Source§impl Ord for TxId
impl Ord for TxId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TxId
impl PartialOrd 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§
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