Module typed

Module typed 

Source
Expand description

Backend-agnostic typestate traits and enums for typed connections.

This module provides traits for typed database connections with compile-time transaction state tracking, plus backend-neutral AnyIdle/AnyTx wrappers.

Enums§

AnyIdle
Backend-neutral idle wrapper.
AnyTx
Backend-neutral tx wrapper.

Traits§

BeginTx
Begin a transaction from an idle connection.
Queryable
Minimal query surface shared by idle and tx connections.
TxConn
Transaction state that can return to idle.
TypedConnOps
Shared operations available in both idle and transactional typed connections.