pub struct ReadGuard<'a> { /* private fields */ }Expand description
A RAII guard returned by a successful read lock. Any number of these can exist at once, across any number of threads and processes.
Trait Implementations§
impl Sync for ReadGuard<'_>
Auto Trait Implementations§
impl<'a> !Send for ReadGuard<'a>
impl<'a> Freeze for ReadGuard<'a>
impl<'a> RefUnwindSafe for ReadGuard<'a>
impl<'a> Unpin for ReadGuard<'a>
impl<'a> UnsafeUnpin for ReadGuard<'a>
impl<'a> UnwindSafe for ReadGuard<'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