pub struct ReadGuard<'a, T> { /* private fields */ }Expand description
Type to handle read-latch, when latchlock gets dropped the latch is released.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for ReadGuard<'a, T>
impl<'a, T> RefUnwindSafe for ReadGuard<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ReadGuard<'a, T>where
T: Sync,
impl<'a, T> Sync for ReadGuard<'a, T>where
T: Sync,
impl<'a, T> Unpin for ReadGuard<'a, T>
impl<'a, T> UnwindSafe for ReadGuard<'a, T>where
T: 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