windows::Win32::System::UpdateAgent

Trait IAutomaticUpdatesSettings_Impl

pub trait IAutomaticUpdatesSettings_Impl: IDispatch_Impl {
    // Required methods
    fn NotificationLevel(&self) -> Result<AutomaticUpdatesNotificationLevel>;
    fn SetNotificationLevel(
        &self,
        value: AutomaticUpdatesNotificationLevel,
    ) -> Result<()>;
    fn ReadOnly(&self) -> Result<VARIANT_BOOL>;
    fn Required(&self) -> Result<VARIANT_BOOL>;
    fn ScheduledInstallationDay(
        &self,
    ) -> Result<AutomaticUpdatesScheduledInstallationDay>;
    fn SetScheduledInstallationDay(
        &self,
        value: AutomaticUpdatesScheduledInstallationDay,
    ) -> Result<()>;
    fn ScheduledInstallationTime(&self) -> Result<i32>;
    fn SetScheduledInstallationTime(&self, value: i32) -> Result<()>;
    fn Refresh(&self) -> Result<()>;
    fn Save(&self) -> Result<()>;
}

Required Methods§

fn NotificationLevel(&self) -> Result<AutomaticUpdatesNotificationLevel>

fn SetNotificationLevel( &self, value: AutomaticUpdatesNotificationLevel, ) -> Result<()>

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

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

fn ScheduledInstallationDay( &self, ) -> Result<AutomaticUpdatesScheduledInstallationDay>

fn SetScheduledInstallationDay( &self, value: AutomaticUpdatesScheduledInstallationDay, ) -> Result<()>

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

fn SetScheduledInstallationTime(&self, value: i32) -> Result<()>

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

fn Save(&self) -> 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§