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

The resulting type after dereferencing

fn deref(&self) -> &T

The method called to dereference a value

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

fn drop(&mut self)

A method called when the value goes out of scope. Read more