pub fn current() -> ThreadExpand description
Gets a handle to the thread that invokes it.
§Examples
Getting a handle to the current thread with thread::current():
Content-Length: 6989 | pFad | https://doc.rust-lang.org/std/pin/../default/../thread/fn.current.html
Fetched URL: https://doc.rust-lang.org/std/pin/../default/../thread/fn.current.html
Alternative Proxies: