Skip to main content

set_auto_open_scope

Function set_auto_open_scope 

Source
pub fn set_auto_open_scope(scope: AutoOpenScope) -> Result<(), Error>
Expand description

Persists the automatic-open scope for the default local vault.

Selecting AutoOpenScope::Off also removes the stored vault password and cached vault keys. Enabling a scope removes the disabled marker.