pub struct TransactionLockSet { /* private fields */ }Expand description
Per-transaction lock tracking for O(k) unlock
Records which (shard_index, row_id) pairs a transaction holds locks on,
enabling ShardedLockTable::unlock_all_tracked to only visit relevant
shards instead of scanning all 256.
Stack-allocates up to 8 entries inline (128 bytes) to avoid heap allocation for typical OLTP transactions.
Implementations§
Trait Implementations§
Source§impl Debug for TransactionLockSet
impl Debug for TransactionLockSet
Source§impl Default for TransactionLockSet
impl Default for TransactionLockSet
Source§fn default() -> TransactionLockSet
fn default() -> TransactionLockSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransactionLockSet
impl RefUnwindSafe for TransactionLockSet
impl Send for TransactionLockSet
impl Sync for TransactionLockSet
impl Unpin for TransactionLockSet
impl UnsafeUnpin for TransactionLockSet
impl UnwindSafe for TransactionLockSet
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