Skip to main content

read_trust

Function read_trust 

Source
pub fn read_trust() -> Result<TrustStore, ConfigError>
Expand description

Read ~/.rpi/agent/trust.json. Missing file ⇒ empty store (not an error). Malformed JSON ⇒ ConfigError::Json. null decisions deserialize as None; absent entries are simply not present.