Trait objc2_cloud_kit::CKSyncEngineDelegate

source ·
pub unsafe trait CKSyncEngineDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn syncEngine_handleEvent(
        &self,
        sync_engine: &CKSyncEngine,
        event: &CKSyncEngineEvent
    )
       where Self: Sized + Message { ... }
    unsafe fn syncEngine_nextRecordZoneChangeBatchForContext(
        &self,
        sync_engine: &CKSyncEngine,
        context: &CKSyncEngineSendChangesContext
    ) -> Option<Retained<CKSyncEngineRecordZoneChangeBatch>>
       where Self: Sized + Message { ... }
    unsafe fn syncEngine_nextFetchChangesOptionsForContext(
        &self,
        sync_engine: &CKSyncEngine,
        context: &CKSyncEngineFetchChangesContext
    ) -> Retained<CKSyncEngineFetchChangesOptions>
       where Self: Sized + Message { ... }
}
Available on crate feature CKSyncEngine only.

Provided Methods§

source

unsafe fn syncEngine_handleEvent( &self, sync_engine: &CKSyncEngine, event: &CKSyncEngineEvent )
where Self: Sized + Message,

Available on crate feature CKSyncEngineEvent only.
source

unsafe fn syncEngine_nextRecordZoneChangeBatchForContext( &self, sync_engine: &CKSyncEngine, context: &CKSyncEngineSendChangesContext ) -> Option<Retained<CKSyncEngineRecordZoneChangeBatch>>
where Self: Sized + Message,

Available on crate feature CKSyncEngineRecordZoneChangeBatch only.
source

unsafe fn syncEngine_nextFetchChangesOptionsForContext( &self, sync_engine: &CKSyncEngine, context: &CKSyncEngineFetchChangesContext ) -> Retained<CKSyncEngineFetchChangesOptions>
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn CKSyncEngineDelegate

source§

const NAME: &'static str = "CKSyncEngineDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn CKSyncEngineDelegate

Implementations on Foreign Types§

source§

impl<T> CKSyncEngineDelegate for ProtocolObject<T>

Implementors§