windows::Win32::System::WindowsSync

Trait ISyncCallback_Impl

pub trait ISyncCallback_Impl: IUnknownImpl {
    // Required methods
    fn OnProgress(
        &self,
        provider: SYNC_PROVIDER_ROLE,
        syncstage: SYNC_PROGRESS_STAGE,
        dwcompletedwork: u32,
        dwtotalwork: u32,
    ) -> Result<()>;
    fn OnChange(&self, psyncchange: Ref<'_, ISyncChange>) -> Result<()>;
    fn OnConflict(&self, pconflict: Ref<'_, IChangeConflict>) -> Result<()>;
    fn OnFullEnumerationNeeded(
        &self,
        pfullenumerationaction: *mut SYNC_FULL_ENUMERATION_ACTION,
    ) -> Result<()>;
    fn OnRecoverableError(
        &self,
        precoverableerror: Ref<'_, IRecoverableError>,
    ) -> Result<()>;
}

Required Methods§

fn OnProgress( &self, provider: SYNC_PROVIDER_ROLE, syncstage: SYNC_PROGRESS_STAGE, dwcompletedwork: u32, dwtotalwork: u32, ) -> Result<()>

fn OnChange(&self, psyncchange: Ref<'_, ISyncChange>) -> Result<()>

fn OnConflict(&self, pconflict: Ref<'_, IChangeConflict>) -> Result<()>

fn OnFullEnumerationNeeded( &self, pfullenumerationaction: *mut SYNC_FULL_ENUMERATION_ACTION, ) -> Result<()>

fn OnRecoverableError( &self, precoverableerror: Ref<'_, IRecoverableError>, ) -> 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§