windows::Win32::Networking::BackgroundIntelligentTransferService

Trait IBackgroundCopyManager_Impl

pub trait IBackgroundCopyManager_Impl: IUnknownImpl {
    // Required methods
    fn CreateJob(
        &self,
        displayname: &PCWSTR,
        type: BG_JOB_TYPE,
        pjobid: *mut GUID,
        ppjob: OutRef<'_, IBackgroundCopyJob>,
    ) -> Result<()>;
    fn GetJob(&self, jobid: *const GUID) -> Result<IBackgroundCopyJob>;
    fn EnumJobs(&self, dwflags: u32) -> Result<IEnumBackgroundCopyJobs>;
    fn GetErrorDescription(
        &self,
        hresult: HRESULT,
        languageid: u32,
    ) -> Result<PWSTR>;
}

Required Methods§

fn CreateJob( &self, displayname: &PCWSTR, type: BG_JOB_TYPE, pjobid: *mut GUID, ppjob: OutRef<'_, IBackgroundCopyJob>, ) -> Result<()>

fn GetJob(&self, jobid: *const GUID) -> Result<IBackgroundCopyJob>

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

fn GetErrorDescription( &self, hresult: HRESULT, languageid: u32, ) -> Result<PWSTR>

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§