style::thread_state

Function enter

Source
pub fn enter(x: ThreadState)
Expand description

Enters into a given temporary state. Panics if re-entring.