Trait cuprate_database::TxRo
source · pub trait TxRo<'env> {
// 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: