[][src]Module tokio_util::sync

Synchronization primitives

Structs

CancellationToken

A token which can be used to signal a cancellation request to one or more tasks.

PollSemaphore

A wrapper around Semaphore that provides a poll_acquire method.

WaitForCancellationFuture

A Future that is resolved once the corresponding CancellationToken was cancelled