pub struct TransactionHandle {
pub id: u128,
pub started_ms: i64,
}Expand description
Snapshot of an open transaction (returned by TransactionsDecorator::begin_transaction).
Fields§
§id: u128§started_ms: i64Trait 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 (const: unstable) · 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