windows::Win32::Devices::Sensors

Trait ISensorDataReport_Impl

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

Required Methods§

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

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

fn GetSensorValues( &self, pkeys: Ref<'_, IPortableDeviceKeyCollection>, ) -> Result<IPortableDeviceValues>

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.

Implementors§