Skip to main content

TxGate

Type Alias TxGate 

Source
pub type TxGate = Arc<Semaphore>;
Expand description

Gate that serializes wire-protocol statements while an explicit transaction is open on any connection. The connection that runs begin keeps an owned permit until commit, rollback, disconnect, or timeout, preventing other connections from observing or joining uncommitted state.

Aliased Type§

pub struct TxGate { /* private fields */ }