windows::Win32::NetworkManagement::NetworkPolicyServer

Trait ISdoCollection_Impl

pub trait ISdoCollection_Impl: IDispatch_Impl {
    // Required methods
    fn Count(&self) -> Result<i32>;
    fn Add(&self, bstrname: &BSTR, ppitem: OutRef<'_, IDispatch>) -> Result<()>;
    fn Remove(&self, pitem: Ref<'_, IDispatch>) -> Result<()>;
    fn RemoveAll(&self) -> Result<()>;
    fn Reload(&self) -> Result<()>;
    fn IsNameUnique(&self, bstrname: &BSTR) -> Result<VARIANT_BOOL>;
    fn Item(&self, name: *const VARIANT) -> Result<IDispatch>;
    fn _NewEnum(&self) -> Result<IUnknown>;
}

Required Methods§

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

fn Add(&self, bstrname: &BSTR, ppitem: OutRef<'_, IDispatch>) -> Result<()>

fn Remove(&self, pitem: Ref<'_, IDispatch>) -> Result<()>

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

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

fn IsNameUnique(&self, bstrname: &BSTR) -> Result<VARIANT_BOOL>

fn Item(&self, name: *const VARIANT) -> Result<IDispatch>

fn _NewEnum(&self) -> Result<IUnknown>

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§