id

Function id 

Source
pub fn id() -> Id
Expand description

Gets running task’s id. Panic if no reside in managed async task.

§Cautions

See cautions of Id.