pub struct TransactionClock(/* private fields */);Expand description
The instant an explicit transaction began at, captured once at BEGIN
and handed to every statement run in it (QueryClockGuard::within),
so <kind>.transaction() reads one instant for the whole transaction
while <kind>.statement() still moves with each statement.
Implementations§
Trait Implementations§
Source§impl Clone for TransactionClock
impl Clone for TransactionClock
impl Copy for TransactionClock
Source§impl Debug for TransactionClock
impl Debug for TransactionClock
impl Eq for TransactionClock
Source§impl PartialEq for TransactionClock
impl PartialEq for TransactionClock
impl StructuralPartialEq for TransactionClock
Auto Trait Implementations§
impl Forget for TransactionClock
impl Freeze for TransactionClock
impl Move for TransactionClock
impl RefUnwindSafe for TransactionClock
impl Send for TransactionClock
impl Sync for TransactionClock
impl Unpin for TransactionClock
impl UnsafeUnpin for TransactionClock
impl UnwindSafe for TransactionClock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.