windows::Win32::UI::Shell

Trait IActionProgress_Impl

pub trait IActionProgress_Impl: IUnknownImpl {
    // Required methods
    fn Begin(&self, action: SPACTION, flags: u32) -> Result<()>;
    fn UpdateProgress(&self, ulcompleted: u64, ultotal: u64) -> Result<()>;
    fn UpdateText(
        &self,
        sptext: SPTEXT,
        psztext: &PCWSTR,
        fmaycompact: BOOL,
    ) -> Result<()>;
    fn QueryCancel(&self) -> Result<BOOL>;
    fn ResetCancel(&self) -> Result<()>;
    fn End(&self) -> Result<()>;
}

Required Methods§

fn Begin(&self, action: SPACTION, flags: u32) -> Result<()>

fn UpdateProgress(&self, ulcompleted: u64, ultotal: u64) -> Result<()>

fn UpdateText( &self, sptext: SPTEXT, psztext: &PCWSTR, fmaycompact: BOOL, ) -> Result<()>

fn QueryCancel(&self) -> Result<BOOL>

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

fn End(&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§