future: add adapters of CancellationToken for FutureExt (#7475)

This commit is contained in:
yanyuxing
2025-07-29 18:09:13 +08:00
committed by GitHub
parent 1b27e17ff8
commit 0e5c5d64f5
8 changed files with 568 additions and 60 deletions
+1
View File
@@ -5,6 +5,7 @@ pub use cancellation_token::{
guard::DropGuard, guard_ref::DropGuardRef, CancellationToken, WaitForCancellationFuture,
WaitForCancellationFutureOwned,
};
pub(crate) use cancellation_token::{RunUntilCancelledFuture, RunUntilCancelledFutureOwned};
mod mpsc;
pub use mpsc::{PollSendError, PollSender};