pub struct SvsConfig {
pub sync_interval: Duration,
pub jitter_ms: u64,
pub channel_capacity: usize,
pub retry_policy: RetryPolicy,
}Expand description
Configuration for an SVS sync group.
Fields§
§sync_interval: DurationSync Interest interval (default: 30 seconds, matching the ndnSVS reference).
jitter_ms: u64Jitter range added to sync interval (default: 3000 ms = ±10 %).
channel_capacity: usizeChannel capacity for update notifications (default: 256).
retry_policy: RetryPolicyRetry policy for gap-fetch Interests on the application side.
Not used by the SVS background task itself; exposed here so callers
can pass it to fetch_with_retry when consuming SyncUpdates.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SvsConfig
impl RefUnwindSafe for SvsConfig
impl Send for SvsConfig
impl Sync for SvsConfig
impl Unpin for SvsConfig
impl UnwindSafe for SvsConfig
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