pub struct ReadLockGuard<'t> { /* private fields */ }
Expand description
Used to wrap an acquired lock’s read only data. Lock is automatically released on Drop
Trait Implementations§
Source§impl<'t> Deref for ReadLockGuard<'t>
impl<'t> Deref for ReadLockGuard<'t>
Auto Trait Implementations§
impl<'t> Freeze for ReadLockGuard<'t>
impl<'t> !RefUnwindSafe for ReadLockGuard<'t>
impl<'t> !Send for ReadLockGuard<'t>
impl<'t> !Sync for ReadLockGuard<'t>
impl<'t> Unpin for ReadLockGuard<'t>
impl<'t> !UnwindSafe for ReadLockGuard<'t>
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