Function style::thread_state::enter

source ·
pub fn enter(x: ThreadState)
Expand description

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