Module cancel_safe_futures::sync

source ·
Expand description

Alternative synchronization primitives that are more cancellation-aware.

Currently, this crate contains RobustMutex, which is a variant on an async mutex that is more cancel-safe. For more about how this differs from tokio::sync::Mutex, see the documentation for RobustMutex.

Structs§

Enums§

Type Aliases§

  • A type alias for the result of a lock method which can be poisoned.
  • A type alias for the result of a nonblocking locking method.