tokio_util/sync/
mod.rs

1//! Synchronization primitives
2
3mod cancellation_token;
4pub use cancellation_token::{
5    guard::DropGuard, guard_ref::DropGuardRef, CancellationToken, WaitForCancellationFuture,
6    WaitForCancellationFutureOwned,
7};
8pub(crate) use cancellation_token::{RunUntilCancelledFuture, RunUntilCancelledFutureOwned};
9
10mod mpsc;
11pub use mpsc::{PollSendError, PollSender};
12
13mod poll_semaphore;
14pub use poll_semaphore::PollSemaphore;
15
16mod reusable_box;
17pub use reusable_box::ReusableBoxFuture;