Trait IBackgroundCopyCallback1_Impl
pub trait IBackgroundCopyCallback1_Impl: IUnknownImpl {
// Required methods
fn OnStatus(
&self,
pgroup: Ref<'_, IBackgroundCopyGroup>,
pjob: Ref<'_, IBackgroundCopyJob1>,
dwfileindex: u32,
dwstatus: u32,
dwnumofretries: u32,
dwwin32result: u32,
dwtransportresult: u32,
) -> Result<()>;
fn OnProgress(
&self,
progresstype: u32,
pgroup: Ref<'_, IBackgroundCopyGroup>,
pjob: Ref<'_, IBackgroundCopyJob1>,
dwfileindex: u32,
dwprogressvalue: u32,
) -> Result<()>;
fn OnProgressEx(
&self,
progresstype: u32,
pgroup: Ref<'_, IBackgroundCopyGroup>,
pjob: Ref<'_, IBackgroundCopyJob1>,
dwfileindex: u32,
dwprogressvalue: u32,
dwbytearraysize: u32,
pbyte: *const u8,
) -> Result<()>;
}
Required Methods§
fn OnStatus( &self, pgroup: Ref<'_, IBackgroundCopyGroup>, pjob: Ref<'_, IBackgroundCopyJob1>, dwfileindex: u32, dwstatus: u32, dwnumofretries: u32, dwwin32result: u32, dwtransportresult: u32, ) -> Result<()>
fn OnProgress( &self, progresstype: u32, pgroup: Ref<'_, IBackgroundCopyGroup>, pjob: Ref<'_, IBackgroundCopyJob1>, dwfileindex: u32, dwprogressvalue: u32, ) -> Result<()>
fn OnProgressEx( &self, progresstype: u32, pgroup: Ref<'_, IBackgroundCopyGroup>, pjob: Ref<'_, IBackgroundCopyJob1>, dwfileindex: u32, dwprogressvalue: u32, dwbytearraysize: u32, pbyte: *const u8, ) -> 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.