pub struct TxHandle { /* private fields */ }Expand description
RAII guard returned by ActiveTxRegistry::register. Dropping it
unregisters the transaction. A typical caller doesn’t deal with it
explicitly — it lives on the ConcurrentTx struct (Phase 11.4)
and is dropped when the transaction commits or rolls back.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxHandle
impl RefUnwindSafe for TxHandle
impl Send for TxHandle
impl Sync for TxHandle
impl Unpin for TxHandle
impl UnsafeUnpin for TxHandle
impl UnwindSafe for TxHandle
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