pub struct RwLockReadGuard<'a, T, Codec = Default> { /* private fields */ }Expand description
RAII structure used to release the shared read access of a lock when dropped.
As long as this is held, no write access to the lock can occur.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, Codec> Freeze for RwLockReadGuard<'a, T, Codec>where
T: Freeze,
impl<'a, T, Codec> RefUnwindSafe for RwLockReadGuard<'a, T, Codec>where
T: RefUnwindSafe,
Codec: RefUnwindSafe,
impl<'a, T, Codec> Send for RwLockReadGuard<'a, T, Codec>
impl<'a, T, Codec> Sync for RwLockReadGuard<'a, T, Codec>
impl<'a, T, Codec> Unpin for RwLockReadGuard<'a, T, Codec>
impl<'a, T, Codec> UnwindSafe for RwLockReadGuard<'a, T, Codec>
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