Skip to main content

mint_execution_scope

Function mint_execution_scope 

Source
pub fn mint_execution_scope() -> Arc<str> 
Expand description

Mint a fresh, process-unique, immutable execution-scope id. The pid prefix keeps ids from colliding across processes that share the (in-process) result store’s namespace; the monotonic counter keeps them distinct within one process. Callers push the returned id via enter_execution_scope.