Function omnisensor::threshold::get_thresholds_from_configs
source · [−]pub fn get_thresholds_from_configs(
cfgs: &[ThresholdConfig],
threshold_intfs: &[SensorIntf<ThresholdIntfMsgFns>; 5],
dbuspath: &Arc<SensorPath>,
conn: &Arc<SyncConnection>
) -> [Option<Threshold>; 5]
Expand description
Construct a ThresholdArr
from a slice of config objects.