Trait windows::Win32::Networking::BackgroundIntelligentTransferService::IBackgroundCopyCallback1_Impl
pub trait IBackgroundCopyCallback1_Impl: Sized {
// Required methods
fn OnStatus(
&self,
pgroup: Option<&IBackgroundCopyGroup>,
pjob: Option<&IBackgroundCopyJob1>,
dwfileindex: u32,
dwstatus: u32,
dwnumofretries: u32,
dwwin32result: u32,
dwtransportresult: u32
) -> Result<()>;
fn OnProgress(
&self,
progresstype: u32,
pgroup: Option<&IBackgroundCopyGroup>,
pjob: Option<&IBackgroundCopyJob1>,
dwfileindex: u32,
dwprogressvalue: u32
) -> Result<()>;
fn OnProgressEx(
&self,
progresstype: u32,
pgroup: Option<&IBackgroundCopyGroup>,
pjob: Option<&IBackgroundCopyJob1>,
dwfileindex: u32,
dwprogressvalue: u32,
dwbytearraysize: u32,
pbyte: *const u8
) -> Result<()>;
}
Required Methods§
fn OnStatus( &self, pgroup: Option<&IBackgroundCopyGroup>, pjob: Option<&IBackgroundCopyJob1>, dwfileindex: u32, dwstatus: u32, dwnumofretries: u32, dwwin32result: u32, dwtransportresult: u32 ) -> Result<()>
fn OnProgress( &self, progresstype: u32, pgroup: Option<&IBackgroundCopyGroup>, pjob: Option<&IBackgroundCopyJob1>, dwfileindex: u32, dwprogressvalue: u32 ) -> Result<()>
fn OnProgressEx( &self, progresstype: u32, pgroup: Option<&IBackgroundCopyGroup>, pjob: Option<&IBackgroundCopyJob1>, dwfileindex: u32, dwprogressvalue: u32, dwbytearraysize: u32, pbyte: *const u8 ) -> Result<()>
Object Safety§
This trait is not object safe.