windows::Win32::Devices::WebServicesOnDevices

Trait IWSDiscoveryProviderNotify_Impl

pub trait IWSDiscoveryProviderNotify_Impl: IUnknownImpl {
    // Required methods
    fn Add(&self, pservice: Ref<'_, IWSDiscoveredService>) -> Result<()>;
    fn Remove(&self, pservice: Ref<'_, IWSDiscoveredService>) -> Result<()>;
    fn SearchFailed(&self, hr: HRESULT, psztag: &PCWSTR) -> Result<()>;
    fn SearchComplete(&self, psztag: &PCWSTR) -> Result<()>;
}

Required Methods§

fn Add(&self, pservice: Ref<'_, IWSDiscoveredService>) -> Result<()>

fn Remove(&self, pservice: Ref<'_, IWSDiscoveredService>) -> Result<()>

fn SearchFailed(&self, hr: HRESULT, psztag: &PCWSTR) -> Result<()>

fn SearchComplete(&self, psztag: &PCWSTR) -> Result<()>

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§