Futures-powered synchronization primitives.
This module is only available when the
alloc feature of this
library is activated, and it is activated by default.
A type of futures-powered synchronization primitive which is a mutex between two possible owners.
Future returned by
Returned RAII guard from the
A futures-aware mutex.
An RAII guard returned by the
A future which resolves when the target mutex has been successfully acquired.
Error indicating two