Struct kaspa_utils::sync::rwlock::RfRwLockWriteGuard
source · pub struct RfRwLockWriteGuard<'a>(/* private fields */);Implementations§
source§impl RfRwLockWriteGuard<'_>
impl RfRwLockWriteGuard<'_>
sourcepub fn blocking_yield(&mut self)
pub fn blocking_yield(&mut self)
Releases and recaptures the write lock. Makes sure that other pending readers/writers get a chance to capture the lock before this thread does so.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RfRwLockWriteGuard<'a>
impl<'a> Send for RfRwLockWriteGuard<'a>
impl<'a> Sync for RfRwLockWriteGuard<'a>
impl<'a> Unpin for RfRwLockWriteGuard<'a>
impl<'a> UnwindSafe for RfRwLockWriteGuard<'a>
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