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: 7349 | pFad | https://doc.rust-lang.org/std/pin/../cmp/../iter/../fs/../../../std/../std/thread/fn.current.html
Fetched URL: https://doc.rust-lang.org/std/pin/../cmp/../iter/../fs/../../../std/../std/thread/fn.current.html
Alternative Proxies: