pub struct SyncConfig {
pub batch_size: usize,
pub tombstone_batch: usize,
pub ordered_new_publication: bool,
pub infer_local_deletions: bool,
pub backoff: BackoffPolicy,
}Fields§
§batch_size: usizeUpload chunk size for edits to records that already exist remotely.
tombstone_batch: usizeTombstone write chunk size.
ordered_new_publication: boolPublish never-seen items one record per save, oldest first, and stop new publication for the pass after the first failure (preserves history order: CloudKit gives no ordering inside one operation).
infer_local_deletions: boolTreat a known-published item that vanished from the local store as a
local deletion (desktop). Apps with explicit note_deleted calls
(iOS) leave this off.
backoff: BackoffPolicyTrait Implementations§
Source§impl Clone for SyncConfig
impl Clone for SyncConfig
Source§impl Debug for SyncConfig
impl Debug for SyncConfig
Auto Trait Implementations§
impl Freeze for SyncConfig
impl RefUnwindSafe for SyncConfig
impl Send for SyncConfig
impl Sync for SyncConfig
impl Unpin for SyncConfig
impl UnsafeUnpin for SyncConfig
impl UnwindSafe for SyncConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more