Module tokio_util::sync
source · [−]Expand description
Synchronization primitives
Structs
A token which can be used to signal a cancellation request to one or more tasks.
A wrapper around Semaphore that provides a poll_acquire method.
A wrapper around mpsc::Sender that can be polled.
A reusable Pin<Box<dyn Future<Output = T> + Send>>.
A Future that is resolved once the corresponding CancellationToken
was cancelled