pub trait MutexProvider<T, K>: Send + Sync {
    type Mutex: Send + Mutex<T>;

    fn get<'life0, 'async_trait>(
        &'life0 self,
        key: K
    ) -> Pin<Box<dyn Future<Output = Result<Self::Mutex>> + Send + 'async_trait>>
    where
        K: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required Associated Types

Required Methods

Implementations on Foreign Types

Implementors