current

Function current 

Source
pub fn current() -> Thread
Expand description

Gets a handle to the thread that invokes it.