Struct lmdb::InactiveTransaction
source · pub struct InactiveTransaction<'env> { /* private fields */ }
Expand description
An inactive read-only transaction.
Implementations§
source§impl<'env> InactiveTransaction<'env>
impl<'env> InactiveTransaction<'env>
sourcepub fn renew(self) -> Result<RoTransaction<'env>>
pub fn renew(self) -> Result<RoTransaction<'env>>
Renews the inactive transaction, returning an active read-only transaction.
This acquires a new reader lock for a transaction handle that had been
released by RoTransaction::reset
.