pub struct WatchLockGuard<'a> { /* private fields */ }Expand description
Guard returned by WatchLock::acquire.
Keep this value alive for the duration of the protected read section. The lock is released automatically when the guard is dropped.
Auto Trait Implementations§
impl<'a> Freeze for WatchLockGuard<'a>
impl<'a> RefUnwindSafe for WatchLockGuard<'a>
impl<'a> !Send for WatchLockGuard<'a>
impl<'a> Sync for WatchLockGuard<'a>
impl<'a> Unpin for WatchLockGuard<'a>
impl<'a> UnsafeUnpin for WatchLockGuard<'a>
impl<'a> UnwindSafe for WatchLockGuard<'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