pub struct ReadLockGuard<'a, T: ?Sized + 'a> { /* private fields */ }Expand description
Result of aquiring read access to the data using read on the data lock. If the
result goes out of scope the read lock is released.
Trait Implementations§
Source§impl<T: ?Sized + Debug> Debug for ReadLockGuard<'_, T>
implement debug trait to forward to the type wrapped within the guard
impl<T: ?Sized + Debug> Debug for ReadLockGuard<'_, T>
implement debug trait to forward to the type wrapped within the guard
Source§impl<T: ?Sized> Deref for ReadLockGuard<'_, T>
impl<T: ?Sized> Deref for ReadLockGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ReadLockGuard<'a, T>where
T: ?Sized,
impl<'a, T> !RefUnwindSafe for ReadLockGuard<'a, T>
impl<'a, T> Send for ReadLockGuard<'a, T>
impl<'a, T> Sync for ReadLockGuard<'a, T>
impl<'a, T> Unpin for ReadLockGuard<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for ReadLockGuard<'a, 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