Trait ISensOnNow_Impl
pub trait ISensOnNow_Impl: IDispatch_Impl {
// Required methods
fn OnACPower(&self) -> Result<()>;
fn OnBatteryPower(&self, dwbatterylifepercent: u32) -> Result<()>;
fn BatteryLow(&self, dwbatterylifepercent: u32) -> Result<()>;
}
Required Methods§
fn OnACPower(&self) -> Result<()>
fn OnBatteryPower(&self, dwbatterylifepercent: u32) -> Result<()>
fn BatteryLow(&self, dwbatterylifepercent: u32) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.