Enum bitflags::__core::thread::LocalKeyState
[−]
[src]
pub enum LocalKeyState { Uninitialized, Valid, Destroyed, }
thread_local_state
): state querying was recently added
Indicator of the state of a thread local storage key.
Variants
Uninitialized | Unstable ( thread_local_state ): state querying was recently added All keys are in this state whenever a thread starts. Keys will
transition to the Keys in the | |
Valid | Unstable ( thread_local_state ): state querying was recently added Once a key has been accessed successfully, it will enter the Keys in the | |
Destroyed | Unstable ( thread_local_state ): state querying was recently added 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
fn clone(&self) -> LocalKeyState
thread_local_state
): state querying was recently added
fn clone_from(&mut self, source: &Self)
1.0.0
impl Copy for LocalKeyState
impl PartialEq<LocalKeyState> for LocalKeyState
fn eq(&self, __arg_0: &LocalKeyState) -> bool
thread_local_state
): state querying was recently added