apply_pinning_for_current_thread

Function apply_pinning_for_current_thread 

Source
pub fn apply_pinning_for_current_thread(
    preset: PinningPreset,
    role_name: &str,
) -> Result<(), String>
Expand description

Apply a pinning preset to the current thread.

role_name is used as a stable distribution key.