windows::Win32::Devices::WebServicesOnDevices

Trait IWSDAsyncResult_Impl

pub trait IWSDAsyncResult_Impl: IUnknownImpl {
    // Required methods
    fn SetCallback(
        &self,
        pcallback: Ref<'_, IWSDAsyncCallback>,
        pasyncstate: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn SetWaitHandle(&self, hwaithandle: HANDLE) -> Result<()>;
    fn HasCompleted(&self) -> Result<()>;
    fn GetAsyncState(&self) -> Result<IUnknown>;
    fn Abort(&self) -> Result<()>;
    fn GetEvent(&self, pevent: *mut WSD_EVENT) -> Result<()>;
    fn GetEndpointProxy(&self) -> Result<IWSDEndpointProxy>;
}

Required Methods§

fn SetCallback( &self, pcallback: Ref<'_, IWSDAsyncCallback>, pasyncstate: Ref<'_, IUnknown>, ) -> Result<()>

fn SetWaitHandle(&self, hwaithandle: HANDLE) -> Result<()>

fn HasCompleted(&self) -> Result<()>

fn GetAsyncState(&self) -> Result<IUnknown>

fn Abort(&self) -> Result<()>

fn GetEvent(&self, pevent: *mut WSD_EVENT) -> Result<()>

fn GetEndpointProxy(&self) -> Result<IWSDEndpointProxy>

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§