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<(), Error>;
fn SetHandlerProgressText(
&self,
pszprogresstext: &PCWSTR,
pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST,
) -> Result<(), Error>;
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, Error>;
fn CanContinue(&self, pszitemid: &PCWSTR) -> Result<(), Error>;
fn QueryForAdditionalItems(
&self,
ppenumitemids: OutRef<'_, IEnumString>,
ppenumpunks: OutRef<'_, IEnumUnknown>,
) -> Result<(), Error>;
fn AddItemToSession(&self, pszitemid: &PCWSTR) -> Result<(), Error>;
fn AddIUnknownToSession(&self, punk: Ref<'_, IUnknown>) -> Result<(), Error>;
fn ProposeItem(
&self,
pnewitem: Ref<'_, ISyncMgrSyncItem>,
) -> Result<(), Error>;
fn CommitItem(&self, pszitemid: &PCWSTR) -> Result<(), Error>;
fn ReportManualSync(&self) -> Result<(), Error>;
}Required Methods§
fn ReportProgress( &self, pszitemid: &PCWSTR, pszprogresstext: &PCWSTR, nstatus: SYNCMGR_PROGRESS_STATUS, ucurrentstep: u32, umaxstep: u32, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST, ) -> Result<(), Error>
fn SetHandlerProgressText( &self, pszprogresstext: &PCWSTR, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST, ) -> Result<(), Error>
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, Error>
fn CanContinue(&self, pszitemid: &PCWSTR) -> Result<(), Error>
fn QueryForAdditionalItems( &self, ppenumitemids: OutRef<'_, IEnumString>, ppenumpunks: OutRef<'_, IEnumUnknown>, ) -> Result<(), Error>
fn AddItemToSession(&self, pszitemid: &PCWSTR) -> Result<(), Error>
fn AddIUnknownToSession(&self, punk: Ref<'_, IUnknown>) -> Result<(), Error>
fn ProposeItem(&self, pnewitem: Ref<'_, ISyncMgrSyncItem>) -> Result<(), Error>
fn CommitItem(&self, pszitemid: &PCWSTR) -> Result<(), Error>
fn ReportManualSync(&self) -> Result<(), Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".