windows::Win32::Devices::Enumeration::Pnp

Trait IUPnPDescriptionDocument_Impl

pub trait IUPnPDescriptionDocument_Impl: IDispatch_Impl {
    // Required methods
    fn ReadyState(&self) -> Result<i32>;
    fn Load(&self, bstrurl: &BSTR) -> Result<()>;
    fn LoadAsync(
        &self,
        bstrurl: &BSTR,
        punkcallback: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn LoadResult(&self) -> Result<i32>;
    fn Abort(&self) -> Result<()>;
    fn RootDevice(&self) -> Result<IUPnPDevice>;
    fn DeviceByUDN(&self, bstrudn: &BSTR) -> Result<IUPnPDevice>;
}

Required Methods§

fn ReadyState(&self) -> Result<i32>

fn Load(&self, bstrurl: &BSTR) -> Result<()>

fn LoadAsync( &self, bstrurl: &BSTR, punkcallback: Ref<'_, IUnknown>, ) -> Result<()>

fn LoadResult(&self) -> Result<i32>

fn Abort(&self) -> Result<()>

fn RootDevice(&self) -> Result<IUPnPDevice>

fn DeviceByUDN(&self, bstrudn: &BSTR) -> Result<IUPnPDevice>

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§