Files
tokio/tokio-util/src/sync/mod.rs
T

17 lines
392 B
Rust
Raw Normal View History

//! Synchronization primitives
mod cancellation_token;
pub use cancellation_token::{
guard::DropGuard, guard_ref::DropGuardRef, CancellationToken, WaitForCancellationFuture,
WaitForCancellationFutureOwned,
};
2021-03-04 17:29:30 +01:00
mod mpsc;
pub use mpsc::{PollSendError, PollSender};
2021-03-04 17:29:30 +01:00
2021-01-20 09:53:31 +01:00
mod poll_semaphore;
pub use poll_semaphore::PollSemaphore;
2021-01-30 00:03:01 +01:00
mod reusable_box;
pub use reusable_box::ReusableBoxFuture;