Struct ord_lmdb_zero::ResetTransaction
source · [−]pub struct ResetTransaction<'env>(_);
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
sourceimpl<'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> !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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
sourcefn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more