windows::Win32::Devices::PortableDevices

Trait IPortableDeviceEventCallback_Impl

pub trait IPortableDeviceEventCallback_Impl: IUnknownImpl {
    // Required method
    fn OnEvent(
        &self,
        peventparameters: Ref<'_, IPortableDeviceValues>,
    ) -> Result<()>;
}

Required Methods§

fn OnEvent( &self, peventparameters: Ref<'_, IPortableDeviceValues>, ) -> 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.

Implementors§