pub fn try_id() -> Option<Id>
The id of the task this code runs in, None outside a task (in block_on’s own future, or on a blocking-pool thread).
None
block_on