pub struct SyncConfig {
pub sync_interval_ms: u64,
pub presence_interval_ms: u64,
pub sync_timeout_ms: u64,
pub max_batch_size: usize,
pub auto_sync: bool,
}Expand description
Configuration for sync behavior.
Fields§
§sync_interval_ms: u64How often to send sync requests (in milliseconds).
presence_interval_ms: u64How often to send presence updates (in milliseconds).
sync_timeout_ms: u64Timeout for sync requests (in milliseconds).
max_batch_size: usizeMaximum batch size for delta updates.
auto_sync: boolEnable automatic background sync.
Trait Implementations§
Source§impl Clone for SyncConfig
impl Clone for SyncConfig
Source§fn clone(&self) -> SyncConfig
fn clone(&self) -> SyncConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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