Struct std::thread::Thread [] [src]

pub struct Thread {
    // some fields omitted
}
1.0.0

A handle to a thread.

Methods

impl Thread

fn unpark(&self)

Atomically makes the handle's token available if it is not already.

See the module doc for more detail.

fn name(&self) -> Option<&str>

Gets the thread's name.

Trait Implementations

impl Debug for Thread

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Clone for Thread

fn clone(&self) -> Thread

fn clone_from(&mut self, source: &Self)