windows::Win32::Devices::WebServicesOnDevices

Trait IWSDDeviceProxy_Impl

pub trait IWSDDeviceProxy_Impl: IUnknownImpl {
    // Required methods
    fn Init(
        &self,
        pszdeviceid: &PCWSTR,
        pdeviceaddress: Ref<'_, IWSDAddress>,
        pszlocalid: &PCWSTR,
        pcontext: Ref<'_, IWSDXMLContext>,
        psponsor: Ref<'_, IWSDDeviceProxy>,
    ) -> Result<()>;
    fn BeginGetMetadata(&self) -> Result<IWSDAsyncResult>;
    fn EndGetMetadata(&self, presult: Ref<'_, IWSDAsyncResult>) -> Result<()>;
    fn GetHostMetadata(&self) -> Result<*mut WSD_HOST_METADATA>;
    fn GetThisModelMetadata(&self) -> Result<*mut WSD_THIS_MODEL_METADATA>;
    fn GetThisDeviceMetadata(&self) -> Result<*mut WSD_THIS_DEVICE_METADATA>;
    fn GetAllMetadata(&self) -> Result<*mut WSD_METADATA_SECTION_LIST>;
    fn GetServiceProxyById(
        &self,
        pszserviceid: &PCWSTR,
    ) -> Result<IWSDServiceProxy>;
    fn GetServiceProxyByType(
        &self,
        ptype: *const WSDXML_NAME,
    ) -> Result<IWSDServiceProxy>;
    fn GetEndpointProxy(&self) -> Result<IWSDEndpointProxy>;
}

Required Methods§

fn Init( &self, pszdeviceid: &PCWSTR, pdeviceaddress: Ref<'_, IWSDAddress>, pszlocalid: &PCWSTR, pcontext: Ref<'_, IWSDXMLContext>, psponsor: Ref<'_, IWSDDeviceProxy>, ) -> Result<()>

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

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

fn GetHostMetadata(&self) -> Result<*mut WSD_HOST_METADATA>

fn GetThisModelMetadata(&self) -> Result<*mut WSD_THIS_MODEL_METADATA>

fn GetThisDeviceMetadata(&self) -> Result<*mut WSD_THIS_DEVICE_METADATA>

fn GetAllMetadata(&self) -> Result<*mut WSD_METADATA_SECTION_LIST>

fn GetServiceProxyById(&self, pszserviceid: &PCWSTR) -> Result<IWSDServiceProxy>

fn GetServiceProxyByType( &self, ptype: *const WSDXML_NAME, ) -> Result<IWSDServiceProxy>

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§