Trait concurrency_traits::ThreadHandle [−][src]
Expand description
A handle to a spawned thread. Analog for std::thread::JoinHandle
.
Associated Types
type ThreadId
[src]
Expand description
The type of a thread portable id. Analog for std::thread::Thread
.
Required methods
fn thread_id(&self) -> &Self::ThreadId
[src]
Expand description
Gets a thread id from this handle. Analog for std::thread::JoinHandle::thread
.
Implementations on Foreign Types
impl<O> ThreadHandle for JoinHandle<O>
[src]
impl<O> ThreadHandle for JoinHandle<O>
[src]