Trait ISyncMgrSyncCallback_Impl
pub trait ISyncMgrSyncCallback_Impl: IUnknownImpl {
// Required methods
fn ReportProgress(
&self,
pszitemid: &PCWSTR,
pszprogresstext: &PCWSTR,
nstatus: SYNCMGR_PROGRESS_STATUS,
ucurrentstep: u32,
umaxstep: u32,
pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST,
) -> Result<()>;
fn SetHandlerProgressText(
&self,
pszprogresstext: &PCWSTR,
pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST,
) -> Result<()>;
fn ReportEvent(
&self,
pszitemid: &PCWSTR,
nlevel: SYNCMGR_EVENT_LEVEL,
nflags: SYNCMGR_EVENT_FLAGS,
pszname: &PCWSTR,
pszdescription: &PCWSTR,
pszlinktext: &PCWSTR,
pszlinkreference: &PCWSTR,
pszcontext: &PCWSTR,
) -> Result<GUID>;
fn CanContinue(&self, pszitemid: &PCWSTR) -> Result<()>;
fn QueryForAdditionalItems(
&self,
ppenumitemids: OutRef<'_, IEnumString>,
ppenumpunks: OutRef<'_, IEnumUnknown>,
) -> Result<()>;
fn AddItemToSession(&self, pszitemid: &PCWSTR) -> Result<()>;
fn AddIUnknownToSession(&self, punk: Ref<'_, IUnknown>) -> Result<()>;
fn ProposeItem(&self, pnewitem: Ref<'_, ISyncMgrSyncItem>) -> Result<()>;
fn CommitItem(&self, pszitemid: &PCWSTR) -> Result<()>;
fn ReportManualSync(&self) -> Result<()>;
}
Required Methods§
fn ReportProgress( &self, pszitemid: &PCWSTR, pszprogresstext: &PCWSTR, nstatus: SYNCMGR_PROGRESS_STATUS, ucurrentstep: u32, umaxstep: u32, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST, ) -> Result<()>
fn SetHandlerProgressText( &self, pszprogresstext: &PCWSTR, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST, ) -> Result<()>
fn ReportEvent( &self, pszitemid: &PCWSTR, nlevel: SYNCMGR_EVENT_LEVEL, nflags: SYNCMGR_EVENT_FLAGS, pszname: &PCWSTR, pszdescription: &PCWSTR, pszlinktext: &PCWSTR, pszlinkreference: &PCWSTR, pszcontext: &PCWSTR, ) -> Result<GUID>
fn CanContinue(&self, pszitemid: &PCWSTR) -> Result<()>
fn QueryForAdditionalItems( &self, ppenumitemids: OutRef<'_, IEnumString>, ppenumpunks: OutRef<'_, IEnumUnknown>, ) -> Result<()>
fn AddItemToSession(&self, pszitemid: &PCWSTR) -> Result<()>
fn AddIUnknownToSession(&self, punk: Ref<'_, IUnknown>) -> Result<()>
fn ProposeItem(&self, pnewitem: Ref<'_, ISyncMgrSyncItem>) -> Result<()>
fn CommitItem(&self, pszitemid: &PCWSTR) -> Result<()>
fn ReportManualSync(&self) -> 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.