/// Acquire the mutex asynchronously.
///
/// This method returns a future that will resolve once the mutex has been
/// successfully acquired.
Acquire the mutex asynchronously.
This method returns a future that will resolve once the mutex has been
successfully acquired.
Acquire the mutex asynchronously . This method returns a future that will resolve once the mutex has been successfully acquired .
pub fn lock(&self) -> GenericMutexLockFuture<'_, MutexType, T> {
        GenericMutexLockFuture::<MutexType, T> {
            mutex: Some(&self),
            wait_node: ListNode::new(WaitQueueEntry::new()),
        }
    }
pub fn lock ( & self ) -> GenericMutexLockFuture < ' _ , MutexType , T > { GenericMutexLockFuture :: < MutexType , T > { mutex : Some ( & self ) , wait_node : ListNode :: new ( WaitQueueEntry :: new ( ) ) , } }
Acquire the mutex asynchronously.
Acquire the mutex asynchronously .
&self