tokio::runtime::context

Function thread_id

Source
pub(crate) fn thread_id() -> Result<ThreadId, AccessError>