windows::Win32::Devices::WebServicesOnDevices

Trait IWSDiscoveredService_Impl

pub trait IWSDiscoveredService_Impl: IUnknownImpl {
    // Required methods
    fn GetEndpointReference(&self) -> Result<*mut WSD_ENDPOINT_REFERENCE>;
    fn GetTypes(&self) -> Result<*mut WSD_NAME_LIST>;
    fn GetScopes(&self) -> Result<*mut WSD_URI_LIST>;
    fn GetXAddrs(&self) -> Result<*mut WSD_URI_LIST>;
    fn GetMetadataVersion(&self) -> Result<u64>;
    fn GetExtendedDiscoXML(
        &self,
        ppheaderany: *mut *mut WSDXML_ELEMENT,
        ppbodyany: *mut *mut WSDXML_ELEMENT,
    ) -> Result<()>;
    fn GetProbeResolveTag(&self) -> Result<PCWSTR>;
    fn GetRemoteTransportAddress(&self) -> Result<PCWSTR>;
    fn GetLocalTransportAddress(&self) -> Result<PCWSTR>;
    fn GetLocalInterfaceGUID(&self) -> Result<GUID>;
    fn GetInstanceId(&self) -> Result<u64>;
}

Required Methods§

fn GetEndpointReference(&self) -> Result<*mut WSD_ENDPOINT_REFERENCE>

fn GetTypes(&self) -> Result<*mut WSD_NAME_LIST>

fn GetScopes(&self) -> Result<*mut WSD_URI_LIST>

fn GetXAddrs(&self) -> Result<*mut WSD_URI_LIST>

fn GetMetadataVersion(&self) -> Result<u64>

fn GetExtendedDiscoXML( &self, ppheaderany: *mut *mut WSDXML_ELEMENT, ppbodyany: *mut *mut WSDXML_ELEMENT, ) -> Result<()>

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

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

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

fn GetLocalInterfaceGUID(&self) -> Result<GUID>

fn GetInstanceId(&self) -> Result<u64>

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§