pub fn set(key: &str, value: &str) -> boolExpand description
Persist value under key, overwriting any previous value. Returns true when the write was
committed. On Apple platforms this always succeeds; on Android it reflects
SharedPreferences.Editor.commit(); on the file-backed platforms it reflects whether the store
file could be written (a missing config directory or a read-only home yields false).