Skip to main content

unique_token

Function unique_token 

Source
pub fn unique_token() -> String
Expand description

A value unique within this process, for boundaries and message ids.

A counter rather than randomness: a boundary only has to be absent from the body it delimits, and a message id only has to be unique per sender.