pub struct SyncConfig {
pub retry_attempts: u32,
pub retry_delay_ms: u64,
pub default_strategy: ReadStrategy,
}Expand description
Configuration for a SyncEngine instance.
Fields§
§retry_attempts: u32Number of times to retry a failed transport send before giving up.
retry_delay_ms: u64Base delay in milliseconds between retry attempts.
default_strategy: ReadStrategyStrategy used when no explicit strategy is supplied to SyncEngine::read.
Trait Implementations§
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