Skip to main content

load_setup_state_for_decision

Function load_setup_state_for_decision 

Source
pub fn load_setup_state_for_decision() -> Option<SetupState>
Expand description

Load the privacy-bearing setup record for a telemetry decision.

A genuinely missing record is a fresh installation and therefore uses the documented default. An existing record that cannot be read or parsed may contain a durable decline, so it fails closed instead of being replaced by a default-on value.