Searched refs:CreatePowerMonitorFn (Results 1 – 3 of 3) sorted by relevance
38 pub trait CreatePowerMonitorFn: interface43 impl<T> CreatePowerMonitorFn for T where
10 use power_monitor::{BatteryStatus, CreatePowerMonitorFn};109 create_power_monitor: Option<Box<dyn CreatePowerMonitorFn>>,150 create_power_monitor: Option<Box<dyn CreatePowerMonitorFn>>, in command_monitor() argument312 create_power_monitor: Option<Box<dyn CreatePowerMonitorFn>>, in new() argument
466 as Box<dyn power_monitor::CreatePowerMonitorFn>); in add_goldfish_battery()