Enum std::thread::LocalKeyState
[−]
[src]
pub enum LocalKeyState { Uninitialized, Valid, Destroyed, }
Indicator of the state of a thread local storage key.
Variants
Uninitialized | All keys are in this state whenever a thread starts. Keys will
transition to the Keys in the | |
Valid | Once a key has been accessed successfully, it will enter the Keys in the | |
Destroyed | When a thread exits, the destructors for keys will be run (if
necessary). While a destructor is running, and possibly after a
destructor has run, a key is in the Keys in the |
Trait Implementations
Derived Implementations
impl Clone for LocalKeyState
[src]
fn clone(&self) -> LocalKeyState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for LocalKeyState
[src]
impl PartialEq for LocalKeyState
[src]
fn eq(&self, __arg_0: &LocalKeyState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.