windows::Win32::Networking::BackgroundIntelligentTransferService

Trait IBackgroundCopyJob2_Impl

pub trait IBackgroundCopyJob2_Impl: IBackgroundCopyJob_Impl {
    // Required methods
    fn SetNotifyCmdLine(
        &self,
        program: &PCWSTR,
        parameters: &PCWSTR,
    ) -> Result<()>;
    fn GetNotifyCmdLine(
        &self,
        pprogram: *mut PWSTR,
        pparameters: *mut PWSTR,
    ) -> Result<()>;
    fn GetReplyProgress(
        &self,
        pprogress: *mut BG_JOB_REPLY_PROGRESS,
    ) -> Result<()>;
    fn GetReplyData(
        &self,
        ppbuffer: *mut *mut u8,
        plength: *mut u64,
    ) -> Result<()>;
    fn SetReplyFileName(&self, replyfilename: &PCWSTR) -> Result<()>;
    fn GetReplyFileName(&self) -> Result<PWSTR>;
    fn SetCredentials(
        &self,
        credentials: *const BG_AUTH_CREDENTIALS,
    ) -> Result<()>;
    fn RemoveCredentials(
        &self,
        target: BG_AUTH_TARGET,
        scheme: BG_AUTH_SCHEME,
    ) -> Result<()>;
}

Required Methods§

fn SetNotifyCmdLine(&self, program: &PCWSTR, parameters: &PCWSTR) -> Result<()>

fn GetNotifyCmdLine( &self, pprogram: *mut PWSTR, pparameters: *mut PWSTR, ) -> Result<()>

fn GetReplyProgress(&self, pprogress: *mut BG_JOB_REPLY_PROGRESS) -> Result<()>

fn GetReplyData(&self, ppbuffer: *mut *mut u8, plength: *mut u64) -> Result<()>

fn SetReplyFileName(&self, replyfilename: &PCWSTR) -> Result<()>

fn GetReplyFileName(&self) -> Result<PWSTR>

fn SetCredentials(&self, credentials: *const BG_AUTH_CREDENTIALS) -> Result<()>

fn RemoveCredentials( &self, target: BG_AUTH_TARGET, scheme: BG_AUTH_SCHEME, ) -> 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§