pub struct SyncConfig {
pub mtu: usize,
pub batch: BatchConfig,
pub sync_interval_ms: u64,
pub enable_delta: bool,
pub max_retries: u8,
}Expand description
Configuration for the sync protocol
Fields§
§mtu: usizeNegotiated MTU
batch: BatchConfigBatch configuration
sync_interval_ms: u64Sync interval in milliseconds
enable_delta: boolEnable delta encoding
max_retries: u8Maximum retries per chunk
Implementations§
Source§impl SyncConfig
impl SyncConfig
Sourcepub fn responsive() -> Self
pub fn responsive() -> Self
Config for responsive operation
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 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