Identifies a thread pool worker.
This identifier is unique scoped by the thread pool. It is possible that different thread pool instances share worker identifier values.
Returns this identifier represented as an integer.
Worker identifiers in a single thread pool are guaranteed to correspond to integers in the
fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl StructuralEq for WorkerId[src]
impl StructuralPartialEq for WorkerId[src]
impl RefUnwindSafe for WorkerId
impl UnwindSafe for WorkerId
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.