Function conc::settings::set_local [] [src]

pub fn set_local(settings: Settings)

Set the settings for the current thread.

Important

This is not global. That is, if you call this in thread A, the setting change won't affect thread B. If you want to have the same settings in multiple threads, you should call this function in the start of every thread you spawn with the Settings, you want.