Struct async_std::task::TaskId [−][src]
pub struct TaskId(_);
A unique identifier for a task.
Examples
use async_std::task; task::block_on(async { println!("id = {:?}", task::current().id()); })
pub struct TaskId(_);
A unique identifier for a task.
use async_std::task; task::block_on(async { println!("id = {:?}", task::current().id()); })
impl Copy for TaskId
[src]impl Eq for TaskId
[src]impl StructuralEq for TaskId
[src]impl StructuralPartialEq for TaskId
[src]impl RefUnwindSafe for TaskId
impl Send for TaskId
impl Sync for TaskId
impl Unpin for TaskId
impl UnwindSafe for TaskId