pub struct TransactionHandle {
pub txn_id: u64,
pub isolation: IsolationLevel,
pub active: bool,
}Expand description
A handle for an active MVCC transaction
Fields§
§txn_id: u64Unique transaction ID
isolation: IsolationLevelIsolation level of this transaction
active: boolWhether this transaction is still active
Trait Implementations§
Source§impl Clone for TransactionHandle
impl Clone for TransactionHandle
Source§fn clone(&self) -> TransactionHandle
fn clone(&self) -> TransactionHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransactionHandle
impl RefUnwindSafe for TransactionHandle
impl Send for TransactionHandle
impl Sync for TransactionHandle
impl Unpin for TransactionHandle
impl UnsafeUnpin for TransactionHandle
impl UnwindSafe for TransactionHandle
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