windows::Win32::Devices::PortableDevices

Trait IPortableDeviceServiceActivation_Impl

pub trait IPortableDeviceServiceActivation_Impl: IUnknownImpl {
    // Required methods
    fn OpenAsync(
        &self,
        pszpnpserviceid: &PCWSTR,
        pclientinfo: Ref<'_, IPortableDeviceValues>,
        pcallback: Ref<'_, IPortableDeviceServiceOpenCallback>,
    ) -> Result<()>;
    fn CancelOpenAsync(&self) -> Result<()>;
}

Required Methods§

fn OpenAsync( &self, pszpnpserviceid: &PCWSTR, pclientinfo: Ref<'_, IPortableDeviceValues>, pcallback: Ref<'_, IPortableDeviceServiceOpenCallback>, ) -> Result<()>

fn CancelOpenAsync(&self) -> 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§