pub trait TxRo<'tx> {
// Required method
fn commit(self) -> Result<(), RuntimeError>;
}
Expand description
Read-only database transaction.
Returned from EnvInner::tx_ro
.
§Commit
It’s recommended but may not be necessary to call TxRo::commit
in certain cases: