pub fn apply_pinning_for_current_thread( preset: PinningPreset, role_name: &str, ) -> Result<(), String>
Apply a pinning preset to the current thread.
role_name is used as a stable distribution key.
role_name