|
rstd 0.1.0
|
An owned handle to a thread, which joins the thread on drop. More...
Public Member Functions | |
| auto | thread () const -> Thread |
| Extracts a handle to the underlying thread. | |
| auto | join () &&-> Result< ret_t > |
| Waits for the associated thread to finish and returns its result. | |
| auto | is_finished () const -> bool |
| Checks whether the associated thread has finished running. | |
An owned handle to a thread, which joins the thread on drop.
| T | The return type of the thread's closure. |