Skip to main content

Module paths

Module paths 

Source
Expand description

Dot-separated configuration key paths for rfham-config.

ConfigPath is a validated sequence of Name segments joined by .. It parses from strings like "station.callsign" and displays back in the same form.

§Examples

use rfham_config::paths::ConfigPath;

let path: ConfigPath = "station.callsign".parse().unwrap();
assert_eq!("station.callsign", path.to_string());
assert!("".parse::<ConfigPath>().is_err());

Structs§

ConfigPath