pub struct PSyncConfig {
pub sync_interval: Duration,
pub jitter_ms: u64,
pub ibf_size: usize,
pub channel_capacity: usize,
}Expand description
Configuration for a PSync group.
Fields§
§sync_interval: DurationSync Interest interval (default: 1 second).
jitter_ms: u64Jitter range in ms (default: 200).
ibf_size: usizeIBF size (default: 80 cells).
channel_capacity: usizeChannel capacity for update notifications (default: 256).
Trait Implementations§
Source§impl Clone for PSyncConfig
impl Clone for PSyncConfig
Source§fn clone(&self) -> PSyncConfig
fn clone(&self) -> PSyncConfig
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 PSyncConfig
impl Debug for PSyncConfig
Auto Trait Implementations§
impl Freeze for PSyncConfig
impl RefUnwindSafe for PSyncConfig
impl Send for PSyncConfig
impl Sync for PSyncConfig
impl Unpin for PSyncConfig
impl UnwindSafe for PSyncConfig
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