Struct crossbeam_utils::atomic::seq_lock::SeqLockWriteGuard
source · pub(crate) struct SeqLockWriteGuard {
lock: &'static SeqLock,
state: usize,
}
Expand description
An RAII guard that releases the lock and increments the stamp when dropped.
Fields§
§lock: &'static SeqLock
The parent lock.
state: usize
The stamp before locking.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeqLockWriteGuard
impl RefUnwindSafe for SeqLockWriteGuard
impl Send for SeqLockWriteGuard
impl Sync for SeqLockWriteGuard
impl Unpin for SeqLockWriteGuard
impl UnwindSafe for SeqLockWriteGuard
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