pub trait TransactionManager: Send + Sync {
// Required methods
fn begin(&self) -> TxId;
fn commit(&self, tx: TxId) -> Result<()>;
fn rollback(&self, tx: TxId) -> Result<()>;
fn snapshot(&self) -> SnapshotId;
}pub trait TransactionManager: Send + Sync {
// Required methods
fn begin(&self) -> TxId;
fn commit(&self, tx: TxId) -> Result<()>;
fn rollback(&self, tx: TxId) -> Result<()>;
fn snapshot(&self) -> SnapshotId;
}