pub fn read(
params: &HashMap<String, String>,
) -> Result<Option<(Selection, SysmonConfig)>, String>Expand description
Read the sampler’s params. Ok(None) when sysmon is not set.
Fails on a retired spelling, on a sampler param given without
sysmon, and on a value that does not parse; each error names the
param and what to write.