windows::Win32::Devices::PortableDevices

Trait IPortableDevicePropertiesBulkCallback_Impl

pub trait IPortableDevicePropertiesBulkCallback_Impl: IUnknownImpl {
    // Required methods
    fn OnStart(&self, pcontext: *const GUID) -> Result<()>;
    fn OnProgress(
        &self,
        pcontext: *const GUID,
        presults: Ref<'_, IPortableDeviceValuesCollection>,
    ) -> Result<()>;
    fn OnEnd(&self, pcontext: *const GUID, hrstatus: HRESULT) -> Result<()>;
}

Required Methods§

fn OnStart(&self, pcontext: *const GUID) -> Result<()>

fn OnProgress( &self, pcontext: *const GUID, presults: Ref<'_, IPortableDeviceValuesCollection>, ) -> Result<()>

fn OnEnd(&self, pcontext: *const GUID, hrstatus: HRESULT) -> 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§