windows::Win32::System::GroupPolicy

Trait IGPMBackup_Impl

pub trait IGPMBackup_Impl: IDispatch_Impl {
    // Required methods
    fn ID(&self) -> Result<BSTR>;
    fn GPOID(&self) -> Result<BSTR>;
    fn GPODomain(&self) -> Result<BSTR>;
    fn GPODisplayName(&self) -> Result<BSTR>;
    fn Timestamp(&self) -> Result<f64>;
    fn Comment(&self) -> Result<BSTR>;
    fn BackupDir(&self) -> Result<BSTR>;
    fn Delete(&self) -> Result<()>;
    fn GenerateReport(
        &self,
        gpmreporttype: GPMReportType,
        pvargpmprogress: *const VARIANT,
        pvargpmcancel: *mut VARIANT,
    ) -> Result<IGPMResult>;
    fn GenerateReportToFile(
        &self,
        gpmreporttype: GPMReportType,
        bstrtargetfilepath: &BSTR,
    ) -> Result<IGPMResult>;
}

Required Methods§

fn ID(&self) -> Result<BSTR>

fn GPOID(&self) -> Result<BSTR>

fn GPODomain(&self) -> Result<BSTR>

fn GPODisplayName(&self) -> Result<BSTR>

fn Timestamp(&self) -> Result<f64>

fn Comment(&self) -> Result<BSTR>

fn BackupDir(&self) -> Result<BSTR>

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

fn GenerateReport( &self, gpmreporttype: GPMReportType, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>

fn GenerateReportToFile( &self, gpmreporttype: GPMReportType, bstrtargetfilepath: &BSTR, ) -> Result<IGPMResult>

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§