Docs.rs
tokio-async-utils-0.1.3
tokio-async-utils 0.1.3
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
nxy7
Dependencies
tokio ^1.36.0
normal
Versions
50%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate tokio_async_utils
tokio_
async_
utils
0.1.3
All Items
Crate Items
Structs
Traits
Type Aliases
Crate
tokio_
async_
utils
Copy item path
Source
Structs
§
Task
Handle
TaskHandle is simple wrapper around Tokio task::JoinHandle that aborts tasks on Handle drop. The easiest way to obtain TaskHandle is importing TaskExt trait and running
to_task_handle()
on Tokio task::JoinHandle.
TaskMap
Map of tasks that can store TaskHandles based on any key type.
Traits
§
TaskExt
Type Aliases
§
TaskSet
TaskSet is simple alias for JoinSet. Because JoinSet already aborts futures on drop I didn’t feel like it’s necessary to modify it.