pub fn try_init(config: PropertyConfig) -> Result<()>Expand description
Initialize system properties, returning an error when an option cannot be
applied — typically because it was already set, either explicitly by a
previous init()/try_init() or implicitly by the first property read
(properties_dir() latches the default directory on first use).
Only the options present in config are touched: a socket-only config
leaves the properties directory unset (still overridable later), and
vice versa.