[][src]Trait locktree::RwLock

pub trait RwLock {
    type ReadGuard: for<'a> PlugLifetime<'a>;
    type WriteGuard: for<'a> PlugLifetime<'a>;
    fn read(&self) -> PluggedGuard<Self::ReadGuard>;
fn write(&self) -> PluggedGuard<Self::WriteGuard>; }

Associated Types

type ReadGuard: for<'a> PlugLifetime<'a>

type WriteGuard: for<'a> PlugLifetime<'a>

Loading content...

Required methods

fn read(&self) -> PluggedGuard<Self::ReadGuard>

fn write(&self) -> PluggedGuard<Self::WriteGuard>

Loading content...

Implementations on Foreign Types

impl<T> RwLock for RwLock<T> where
    T: 'static, 
[src]

Loading content...

Implementors

impl<T> RwLock for T where
    T: Mutex
[src]

type ReadGuard = T::Guard

type WriteGuard = T::Guard

Loading content...