Searched refs:DeviceSettings (Results 1 – 4 of 4) sorted by relevance
12 pub struct DeviceSettings { struct34 impl DeviceSettings { impl36 pub fn from_yaml_str(conf: &str) -> Result<DeviceSettings> { in from_yaml_str() argument37 let settings: DeviceSettings = serde_yaml::from_str(conf) in from_yaml_str()
21 use settings::{AmpCalibSettings, DeviceSettings};104 let settings = DeviceSettings::from_yaml_str(&conf)?; in new()
13 pub struct DeviceSettings { struct44 impl DeviceSettings { implementation46 pub fn from_yaml_str(conf: &str) -> Result<DeviceSettings> { in from_yaml_str() argument47 let settings: DeviceSettings = serde_yaml::from_str(conf) in from_yaml_str()
17 use settings::{AmpCalibSettings, DeviceSettings};97 let settings = DeviceSettings::from_yaml_str(&conf)?; in new()