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>

The resulting type after dereferencing.

Dereferences the value.

impl<'rwlock, T: ?Sized> Drop for RwLockReadGuard<'rwlock, T>

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'a, T: ?Sized> Send for RwLockReadGuard<'a, T> where
    T: Sync

impl<'a, T: ?Sized> Sync for RwLockReadGuard<'a, T> where
    T: Sync