Skip to main content

resume_token

Function resume_token 

Source
pub fn resume_token() -> Option<String>
Expand description

Read the resume token from the process environment.

Returns None when the terminal does not support the protocol (variable absent) or exported an empty or absurdly long token. The token itself must never be written to the terminal, logs, or child environments; only the mac travels.