Module mutex

Source
Expand description

Async mutex.

This module provides a mutex that can be used to synchronize data between asynchronous tasks.

Structsยง

MappedMutexGuard
A handle to a held Mutex that has had a function applied to it via MutexGuard::map or MappedMutexGuard::map.
Mutex
Async mutex.
MutexGuard
Async mutex guard.
TryLockError
Error returned by Mutex::try_lock