windows::Win32::System::UpdateAgent

Trait IUpdateCollection_Impl

pub trait IUpdateCollection_Impl: IDispatch_Impl {
    // Required methods
    fn get_Item(&self, index: i32) -> Result<IUpdate>;
    fn put_Item(&self, index: i32, value: Ref<'_, IUpdate>) -> Result<()>;
    fn _NewEnum(&self) -> Result<IUnknown>;
    fn Count(&self) -> Result<i32>;
    fn ReadOnly(&self) -> Result<VARIANT_BOOL>;
    fn Add(&self, value: Ref<'_, IUpdate>) -> Result<i32>;
    fn Clear(&self) -> Result<()>;
    fn Copy(&self) -> Result<IUpdateCollection>;
    fn Insert(&self, index: i32, value: Ref<'_, IUpdate>) -> Result<()>;
    fn RemoveAt(&self, index: i32) -> Result<()>;
}

Required Methods§

fn get_Item(&self, index: i32) -> Result<IUpdate>

fn put_Item(&self, index: i32, value: Ref<'_, IUpdate>) -> Result<()>

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

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

fn ReadOnly(&self) -> Result<VARIANT_BOOL>

fn Add(&self, value: Ref<'_, IUpdate>) -> Result<i32>

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

fn Copy(&self) -> Result<IUpdateCollection>

fn Insert(&self, index: i32, value: Ref<'_, IUpdate>) -> Result<()>

fn RemoveAt(&self, index: i32) -> 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§