Skip to main content

read_ui_token

Function read_ui_token 

Source
pub fn read_ui_token(path: &Path, recheck: Duration) -> Result<UiToken, String>
Expand description

The UI’s token in the file at path, followed (its text, trimmed).

§Errors

Why it can’t be read, or a token shorter than MIN_UI_TOKEN.