Struct std::thread::ThreadId [] [src]

pub struct ThreadId(_);
Unstable (thread_id #21507)

A unique identifier for a running thread.

A ThreadId is an opaque object that has a unique value for each thread that creates one. ThreadIds do not correspond to a thread's system- designated identifier.

Trait Implementations

impl Eq for ThreadId

impl PartialEq for ThreadId

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for ThreadId

impl Clone for ThreadId

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more