local_manager

Function local_manager 

Source
pub fn local_manager() -> &'static mut LocalManager
Expand description

Returns a reference to the thread-local LocalManager.

§Panics

It the thread is not registered.

§Undefined behavior

If the thread is not registered when cfg(debug_assertions) is disabled, it causes undefined behavior.