Registry / async / futures-task

futures-task

JSON →
library0.3.32rscratesunverified

Provides tools for working with asynchronous tasks, including the ArcWake trait and WakerRef.

# Cargo.toml [dependencies] futures-task = "0.3.32"
INSTALL
IMPORT
SIG · FUTURES-TASK
F
futures-task
asyncrustv0.3.32
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ArcWake
use futures_task::ArcWake;

Implement ArcWake for a custom waker.

use futures_task::ArcWake; use std::sync::Arc; struct MyWaker; impl ArcWake for MyWaker { fn wake_by_ref(arc_self: &Arc<Self>) {} } fn main() { let waker = Arc::new(MyWaker); println!("ArcWake implemented."); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.32latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources
futures-task — cargo add futures-task · libregistry