pub struct ReadMapGuard<'a, C> { /* private fields */ }Expand description
A read guard for whole-container access (iter, dirty_ref, …).
Reading is lock-free and contention-free; the guard only pins a reader slot
in the calling thread’s private counter. It is not Send: it must be
dropped on the same thread that created it.
Trait Implementations§
Source§impl<'a, C: Debug> Debug for ReadMapGuard<'a, C>
impl<'a, C: Debug> Debug for ReadMapGuard<'a, C>
Source§impl<'a, C> Deref for ReadMapGuard<'a, C>
impl<'a, C> Deref for ReadMapGuard<'a, C>
Source§impl<'a, C: Display> Display for ReadMapGuard<'a, C>
impl<'a, C: Display> Display for ReadMapGuard<'a, C>
Source§impl<'a, C> Drop for ReadMapGuard<'a, C>
impl<'a, C> Drop for ReadMapGuard<'a, C>
Auto Trait Implementations§
impl<'a, C> !Send for ReadMapGuard<'a, C>
impl<'a, C> !Sync for ReadMapGuard<'a, C>
impl<'a, C> Freeze for ReadMapGuard<'a, C>
impl<'a, C> RefUnwindSafe for ReadMapGuard<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Unpin for ReadMapGuard<'a, C>
impl<'a, C> UnsafeUnpin for ReadMapGuard<'a, C>
impl<'a, C> UnwindSafe for ReadMapGuard<'a, C>where
C: RefUnwindSafe,
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