windows::Win32::System::Performance

Trait IDataCollectorCollection_Impl

pub trait IDataCollectorCollection_Impl: IDispatch_Impl {
    // Required methods
    fn Count(&self) -> Result<i32>;
    fn get_Item(&self, index: &VARIANT) -> Result<IDataCollector>;
    fn _NewEnum(&self) -> Result<IUnknown>;
    fn Add(&self, collector: Ref<'_, IDataCollector>) -> Result<()>;
    fn Remove(&self, collector: &VARIANT) -> Result<()>;
    fn Clear(&self) -> Result<()>;
    fn AddRange(
        &self,
        collectors: Ref<'_, IDataCollectorCollection>,
    ) -> Result<()>;
    fn CreateDataCollectorFromXml(
        &self,
        bstrxml: &BSTR,
        pvalidation: OutRef<'_, IValueMap>,
        pcollector: OutRef<'_, IDataCollector>,
    ) -> Result<()>;
    fn CreateDataCollector(
        &self,
        type: DataCollectorType,
    ) -> Result<IDataCollector>;
}

Required Methods§

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

fn get_Item(&self, index: &VARIANT) -> Result<IDataCollector>

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

fn Add(&self, collector: Ref<'_, IDataCollector>) -> Result<()>

fn Remove(&self, collector: &VARIANT) -> Result<()>

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

fn AddRange(&self, collectors: Ref<'_, IDataCollectorCollection>) -> Result<()>

fn CreateDataCollectorFromXml( &self, bstrxml: &BSTR, pvalidation: OutRef<'_, IValueMap>, pcollector: OutRef<'_, IDataCollector>, ) -> Result<()>

fn CreateDataCollector(&self, type: DataCollectorType) -> Result<IDataCollector>

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§