[][src]Trait locktree::AsyncRwLock

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

Associated Types

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

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

Loading content...

Required methods

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

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

Loading content...

Implementors

impl<T> AsyncRwLock for T where
    T: AsyncMutex
[src]

Loading content...