pub struct ManyRecordWriteGuard { /* private fields */ }Expand description
RAII guard for the lock sets of a declared record set — the DBManyLocker
equivalent.
Acquired by PvDatabase::lock_records over every member record of a
multi-record transaction (QSRV atomic group PUT/GET, pvalink atomic
scan-on-update epoch) and held across the whole member loop. While alive,
every plain write to any record of any of those sets blocks.
Auto Trait Implementations§
impl !RefUnwindSafe for ManyRecordWriteGuard
impl !UnwindSafe for ManyRecordWriteGuard
impl Freeze for ManyRecordWriteGuard
impl Send for ManyRecordWriteGuard
impl Sync for ManyRecordWriteGuard
impl Unpin for ManyRecordWriteGuard
impl UnsafeUnpin for ManyRecordWriteGuard
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