windows::Win32::Devices::WebServicesOnDevices

Trait IWSDServiceProxy_Impl

pub trait IWSDServiceProxy_Impl: IWSDMetadataExchange_Impl {
    // Required methods
    fn BeginGetMetadata(&self) -> Result<IWSDAsyncResult>;
    fn EndGetMetadata(
        &self,
        presult: Ref<'_, IWSDAsyncResult>,
    ) -> Result<*mut WSD_METADATA_SECTION_LIST>;
    fn GetServiceMetadata(&self) -> Result<*mut WSD_SERVICE_METADATA>;
    fn SubscribeToOperation(
        &self,
        poperation: *const WSD_OPERATION,
        punknown: Ref<'_, IUnknown>,
        pany: *const WSDXML_ELEMENT,
        ppany: *mut *mut WSDXML_ELEMENT,
    ) -> Result<()>;
    fn UnsubscribeToOperation(
        &self,
        poperation: *const WSD_OPERATION,
    ) -> Result<()>;
    fn SetEventingStatusCallback(
        &self,
        pstatus: Ref<'_, IWSDEventingStatus>,
    ) -> Result<()>;
    fn GetEndpointProxy(&self) -> Result<IWSDEndpointProxy>;
}

Required Methods§

fn BeginGetMetadata(&self) -> Result<IWSDAsyncResult>

fn EndGetMetadata( &self, presult: Ref<'_, IWSDAsyncResult>, ) -> Result<*mut WSD_METADATA_SECTION_LIST>

fn GetServiceMetadata(&self) -> Result<*mut WSD_SERVICE_METADATA>

fn SubscribeToOperation( &self, poperation: *const WSD_OPERATION, punknown: Ref<'_, IUnknown>, pany: *const WSDXML_ELEMENT, ppany: *mut *mut WSDXML_ELEMENT, ) -> Result<()>

fn UnsubscribeToOperation(&self, poperation: *const WSD_OPERATION) -> Result<()>

fn SetEventingStatusCallback( &self, pstatus: Ref<'_, IWSDEventingStatus>, ) -> 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§