pub struct MemGuard(Arc<(Mutex<bool>, Condvar)>);Expand description
Owned guard for MemStore::lock.
Tuple Fields§
§0: Arc<(Mutex<bool>, Condvar)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemGuard
impl RefUnwindSafe for MemGuard
impl Send for MemGuard
impl Sync for MemGuard
impl Unpin for MemGuard
impl UnsafeUnpin for MemGuard
impl UnwindSafe for MemGuard
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