Module futures_util::lock::mutex

source ยท

Structsยง

  • An RAII guard returned by the MutexGuard::map and MappedMutexGuard::map methods. When this structure is dropped (falls out of scope), the lock will be unlocked.
  • A futures-aware mutex.
  • An RAII guard returned by the lock and try_lock methods. When this structure is dropped (falls out of scope), the lock will be unlocked.
  • A future which resolves when the target mutex has been successfully acquired.
  • An RAII guard returned by the lock_owned and try_lock_owned methods. When this structure is dropped (falls out of scope), the lock will be unlocked.
  • A future which resolves when the target mutex has been successfully acquired, owned version.

Enumsยง

Constantsยง