Struct spin::RwLockReadGuard [−][src]
pub struct RwLockReadGuard<'a, T: 'a + ?Sized> { /* fields omitted */ }
A guard to which the protected data can be read
When the guard falls out of scope it will decrement the read count, potentially releasing the lock.
Trait Implementations
impl<'rwlock, T: ?Sized> Deref for RwLockReadGuard<'rwlock, T>
[src]
impl<'rwlock, T: ?Sized> Deref for RwLockReadGuard<'rwlock, T>
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
fn deref(&self) -> &T
Dereferences the value.
impl<'rwlock, T: ?Sized> Drop for RwLockReadGuard<'rwlock, T>
[src]
impl<'rwlock, T: ?Sized> Drop for RwLockReadGuard<'rwlock, T>
Auto Trait Implementations
impl<'a, T: ?Sized> Send for RwLockReadGuard<'a, T> where
T: Sync,
impl<'a, T: ?Sized> Send for RwLockReadGuard<'a, T> where
T: Sync,
impl<'a, T: ?Sized> Sync for RwLockReadGuard<'a, T> where
T: Sync,
impl<'a, T: ?Sized> Sync for RwLockReadGuard<'a, T> where
T: Sync,