pub struct ResetTransaction<'env>(/* private fields */);
Expand description
A read-only LMDB transaction that has been reset.
It can be renewed by calling ResetTransaction::renew()
.
§Lifetime
All notes for ReadTransaction
apply.
Implementations§
Source§impl<'env> ResetTransaction<'env>
impl<'env> ResetTransaction<'env>
Sourcepub fn renew(self) -> Result<ReadTransaction<'env>>
pub fn renew(self) -> Result<ReadTransaction<'env>>
Renews this read-only transaction, making it available for more reading.
Trait Implementations§
Auto Trait Implementations§
impl<'env> !Freeze for ResetTransaction<'env>
impl<'env> !RefUnwindSafe for ResetTransaction<'env>
impl<'env> !Send for ResetTransaction<'env>
impl<'env> !Sync for ResetTransaction<'env>
impl<'env> Unpin for ResetTransaction<'env>
impl<'env> !UnwindSafe for ResetTransaction<'env>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more