Struct spin::RwLockReadGuard [] [src]

pub struct RwLockReadGuard<'a, T: 'a> {
    // some 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> Deref for RwLockReadGuard<'rwlock, T>
[src]

type Target = T

fn deref(&self) -> &T

impl<'rwlock, T> Drop for RwLockReadGuard<'rwlock, T>
[src]

fn drop(&mut self)