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
.
Trait Implementations§
Source§impl<'env> Debug for InactiveTransaction<'env>
impl<'env> Debug for InactiveTransaction<'env>
Auto Trait Implementations§
impl<'env> Freeze for InactiveTransaction<'env>
impl<'env> RefUnwindSafe for InactiveTransaction<'env>
impl<'env> !Send for InactiveTransaction<'env>
impl<'env> !Sync for InactiveTransaction<'env>
impl<'env> Unpin for InactiveTransaction<'env>
impl<'env> UnwindSafe for InactiveTransaction<'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