windows::Win32::Devices::PortableDevices

Trait IPortableDeviceWebControl_Impl

pub trait IPortableDeviceWebControl_Impl: IDispatch_Impl {
    // Required methods
    fn GetDeviceFromId(&self, deviceid: &BSTR) -> Result<IDispatch>;
    fn GetDeviceFromIdAsync(
        &self,
        deviceid: &BSTR,
        pcompletionhandler: Ref<'_, IDispatch>,
        perrorhandler: Ref<'_, IDispatch>,
    ) -> Result<()>;
}

Required Methods§

fn GetDeviceFromId(&self, deviceid: &BSTR) -> Result<IDispatch>

fn GetDeviceFromIdAsync( &self, deviceid: &BSTR, pcompletionhandler: Ref<'_, IDispatch>, perrorhandler: Ref<'_, IDispatch>, ) -> 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§