windows::Win32::Devices::PortableDevices

Trait IPortableDeviceServiceMethods_Impl

pub trait IPortableDeviceServiceMethods_Impl: IUnknownImpl {
    // Required methods
    fn Invoke(
        &self,
        method: *const GUID,
        pparameters: Ref<'_, IPortableDeviceValues>,
        ppresults: OutRef<'_, IPortableDeviceValues>,
    ) -> Result<()>;
    fn InvokeAsync(
        &self,
        method: *const GUID,
        pparameters: Ref<'_, IPortableDeviceValues>,
        pcallback: Ref<'_, IPortableDeviceServiceMethodCallback>,
    ) -> Result<()>;
    fn Cancel(
        &self,
        pcallback: Ref<'_, IPortableDeviceServiceMethodCallback>,
    ) -> Result<()>;
}

Required Methods§

fn Invoke( &self, method: *const GUID, pparameters: Ref<'_, IPortableDeviceValues>, ppresults: OutRef<'_, IPortableDeviceValues>, ) -> Result<()>

fn InvokeAsync( &self, method: *const GUID, pparameters: Ref<'_, IPortableDeviceValues>, pcallback: Ref<'_, IPortableDeviceServiceMethodCallback>, ) -> Result<()>

fn Cancel( &self, pcallback: Ref<'_, IPortableDeviceServiceMethodCallback>, ) -> 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§