windows::Win32::Networking::BackgroundIntelligentTransferService

Trait IBackgroundCopyJob1_Impl

pub trait IBackgroundCopyJob1_Impl: IUnknownImpl {
    // Required methods
    fn CancelJob(&self) -> Result<()>;
    fn GetProgress(&self, dwflags: u32) -> Result<u32>;
    fn GetStatus(
        &self,
        pdwstatus: *mut u32,
        pdwwin32result: *mut u32,
        pdwtransportresult: *mut u32,
        pdwnumofretries: *mut u32,
    ) -> Result<()>;
    fn AddFiles(
        &self,
        cfilecount: u32,
        ppfileset: *const *const FILESETINFO,
    ) -> Result<()>;
    fn GetFile(&self, cfileindex: u32) -> Result<FILESETINFO>;
    fn GetFileCount(&self) -> Result<u32>;
    fn SwitchToForeground(&self) -> Result<()>;
    fn JobID(&self) -> Result<GUID>;
}

Required Methods§

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

fn GetProgress(&self, dwflags: u32) -> Result<u32>

fn GetStatus( &self, pdwstatus: *mut u32, pdwwin32result: *mut u32, pdwtransportresult: *mut u32, pdwnumofretries: *mut u32, ) -> Result<()>

fn AddFiles( &self, cfilecount: u32, ppfileset: *const *const FILESETINFO, ) -> Result<()>

fn GetFile(&self, cfileindex: u32) -> Result<FILESETINFO>

fn GetFileCount(&self) -> Result<u32>

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

fn JobID(&self) -> Result<GUID>

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§