Struct async_std::task::TaskId [−][src]
pub struct TaskId(_);
Expand description
A unique identifier for a task.
Examples
use async_std::task;
task::block_on(async {
println!("id = {:?}", task::current().id());
})
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TaskId
impl UnwindSafe for TaskId
Blanket Implementations
Mutably borrows from an owned value. Read more