Skip to main content

unique_token

Function unique_token 

Source
pub fn unique_token() -> String
Expand description

<pid>.<random>: a token no other process, nor another call in this one, is likely to share. Names temporary files and lock owners.