Skip to main content

Module transaction

Module transaction 

Source
Expand description

Shared live optimistic transaction state; host runtimes own durable publication.

Re-exports§

pub use snapshot::Snapshot;
pub use snapshot::SnapshotManager;
pub use snapshot::TxnContext;
pub use snapshot::Xid;
pub use snapshot::XID_NONE;
pub use visibility::is_visible;

Modules§

read
Explicit snapshot visibility for entity reads. Hosts retain auth, tenant, moderation and ambient statement-frame policy around these helpers.
snapshot
Live optimistic MVCC snapshot, outcome and SSI tracking.
state
Per-connection transaction state and lifecycle transitions.
visibility
MVCC visibility predicate — the deep module that owns the entire “does snapshot S see entity E?” decision.

Enums§

IsolationLevel
Isolation level requested by BEGIN ISOLATION LEVEL ....