windows::Win32::System::ServerBackup

Trait IWsbApplicationRestoreSupport_Impl

pub trait IWsbApplicationRestoreSupport_Impl: IUnknownImpl {
    // Required methods
    fn PreRestore(
        &self,
        wszwritermetadata: &PCWSTR,
        wszcomponentname: &PCWSTR,
        wszcomponentlogicalpath: &PCWSTR,
        bnorollforward: bool,
    ) -> Result<()>;
    fn PostRestore(
        &self,
        wszwritermetadata: &PCWSTR,
        wszcomponentname: &PCWSTR,
        wszcomponentlogicalpath: &PCWSTR,
        bnorollforward: bool,
    ) -> Result<()>;
    fn OrderComponents(
        &self,
        ccomponents: u32,
        rgcomponentname: *const PCWSTR,
        rgcomponentlogicalpaths: *const PCWSTR,
        prgcomponentname: *mut *mut PWSTR,
        prgcomponentlogicalpath: *mut *mut PWSTR,
    ) -> Result<()>;
    fn IsRollForwardSupported(&self) -> Result<u8>;
}

Required Methods§

fn PreRestore( &self, wszwritermetadata: &PCWSTR, wszcomponentname: &PCWSTR, wszcomponentlogicalpath: &PCWSTR, bnorollforward: bool, ) -> Result<()>

fn PostRestore( &self, wszwritermetadata: &PCWSTR, wszcomponentname: &PCWSTR, wszcomponentlogicalpath: &PCWSTR, bnorollforward: bool, ) -> Result<()>

fn OrderComponents( &self, ccomponents: u32, rgcomponentname: *const PCWSTR, rgcomponentlogicalpaths: *const PCWSTR, prgcomponentname: *mut *mut PWSTR, prgcomponentlogicalpath: *mut *mut PWSTR, ) -> Result<()>

fn IsRollForwardSupported(&self) -> Result<u8>

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§