# Struct bitflags::__core::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<(), Error>`

### Derived Implementations

### `impl Clone for Thread`

#### `fn clone(&self) -> Thread`

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

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)