pub struct RwSeqLockGuard<'a, G> { /* private fields */ }Expand description
A guard that manages the sequence counter and wraps the underlying lock guard.
When this guard is dropped, the sequence counter is incremented, signaling to readers that the write operation has finished.
Trait Implementations§
Source§impl<'a, G: Deref> Deref for RwSeqLockGuard<'a, G>
impl<'a, G: Deref> Deref for RwSeqLockGuard<'a, G>
Source§impl<'a, G: DerefMut> DerefMut for RwSeqLockGuard<'a, G>
impl<'a, G: DerefMut> DerefMut for RwSeqLockGuard<'a, G>
Source§impl<'a, G> Drop for RwSeqLockGuard<'a, G>
impl<'a, G> Drop for RwSeqLockGuard<'a, G>
Auto Trait Implementations§
impl<'a, G> Freeze for RwSeqLockGuard<'a, G>where
G: Freeze,
impl<'a, G> RefUnwindSafe for RwSeqLockGuard<'a, G>where
G: RefUnwindSafe,
impl<'a, G> Send for RwSeqLockGuard<'a, G>where
G: Send,
impl<'a, G> Sync for RwSeqLockGuard<'a, G>where
G: Sync,
impl<'a, G> Unpin for RwSeqLockGuard<'a, G>where
G: Unpin,
impl<'a, G> UnsafeUnpin for RwSeqLockGuard<'a, G>where
G: UnsafeUnpin,
impl<'a, G> UnwindSafe for RwSeqLockGuard<'a, G>where
G: UnwindSafe,
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