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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more