Trait concurrency_traits::mutex::RawAsyncTimeoutMutex [−][src]
pub unsafe trait RawAsyncTimeoutMutex: RawAsyncMutex { #[must_use] fn lock_timeout_async<'life0, 'async_trait>(
&'life0 self,
timeout: Duration
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
A raw async mutex that can be timed out and holds no data.