Skip to main content

launch_token

Function launch_token 

Source
pub fn launch_token() -> &'static str
Expand description

This launch’s token.

Generated once per process, on first use. A new one every launch is the point: a token that survived a restart would be a token that could be read off disk.

If the operating system will not provide randomness — which on the platforms this runs on means something is very wrong — the token becomes a value nothing can present, so the gate refuses everything rather than accepting anything. A closed door is the right way to fail.