windows::Win32::Devices::WebServicesOnDevices

Trait IWSDEndpointProxy_Impl

pub trait IWSDEndpointProxy_Impl: IUnknownImpl {
    // Required methods
    fn SendOneWayRequest(
        &self,
        pbody: *const c_void,
        poperation: *const WSD_OPERATION,
    ) -> Result<()>;
    fn SendTwoWayRequest(
        &self,
        pbody: *const c_void,
        poperation: *const WSD_OPERATION,
        presponsecontext: *const WSD_SYNCHRONOUS_RESPONSE_CONTEXT,
    ) -> Result<()>;
    fn SendTwoWayRequestAsync(
        &self,
        pbody: *const c_void,
        poperation: *const WSD_OPERATION,
        pasyncstate: Ref<'_, IUnknown>,
        pcallback: Ref<'_, IWSDAsyncCallback>,
    ) -> Result<IWSDAsyncResult>;
    fn AbortAsyncOperation(
        &self,
        pasyncresult: Ref<'_, IWSDAsyncResult>,
    ) -> Result<()>;
    fn ProcessFault(&self, pfault: *const WSD_SOAP_FAULT) -> Result<()>;
    fn GetErrorInfo(&self) -> Result<PCWSTR>;
    fn GetFaultInfo(&self) -> Result<*mut WSD_SOAP_FAULT>;
}

Required Methods§

fn SendOneWayRequest( &self, pbody: *const c_void, poperation: *const WSD_OPERATION, ) -> Result<()>

fn SendTwoWayRequest( &self, pbody: *const c_void, poperation: *const WSD_OPERATION, presponsecontext: *const WSD_SYNCHRONOUS_RESPONSE_CONTEXT, ) -> Result<()>

fn SendTwoWayRequestAsync( &self, pbody: *const c_void, poperation: *const WSD_OPERATION, pasyncstate: Ref<'_, IUnknown>, pcallback: Ref<'_, IWSDAsyncCallback>, ) -> Result<IWSDAsyncResult>

fn AbortAsyncOperation( &self, pasyncresult: Ref<'_, IWSDAsyncResult>, ) -> Result<()>

fn ProcessFault(&self, pfault: *const WSD_SOAP_FAULT) -> Result<()>

fn GetErrorInfo(&self) -> Result<PCWSTR>

fn GetFaultInfo(&self) -> Result<*mut WSD_SOAP_FAULT>

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§