Trait windows::Win32::Devices::Sensors::ISensorDataReport_Impl

pub trait ISensorDataReport_Impl: Sized {
    // Required methods
    fn GetTimestamp(&self) -> Result<SYSTEMTIME>;
    fn GetSensorValue(&self, pkey: *const PROPERTYKEY) -> Result<PROPVARIANT>;
    fn GetSensorValues(
        &self,
        pkeys: Option<&IPortableDeviceKeyCollection>,
    ) -> Result<IPortableDeviceValues>;
}

Required Methods§

fn GetTimestamp(&self) -> Result<SYSTEMTIME>

fn GetSensorValue(&self, pkey: *const PROPERTYKEY) -> Result<PROPVARIANT>

fn GetSensorValues( &self, pkeys: Option<&IPortableDeviceKeyCollection>, ) -> Result<IPortableDeviceValues>

Object Safety§

This trait is not object safe.

Implementors§