pub trait ReadLockMethod {
    fn read<V>(
        &self,
        rwlock: &'a RwLock<RawRwLock, V>
    ) -> Option<RwLockReadGuard<'a, RawRwLock, V>>; }
Expand description

Trait for implementing read flavors on RwLocks.

Required Methods

Obtain a read lock. Blocking locks are infallible and always return a ‘Some()’ variant.

Implementors