pub struct EngineConfig {
pub reorder_grace_ms: u64,
pub fragment_grace_ms: u64,
pub group_jitter_ms: u64,
pub max_auto_repair_gap: u8,
pub min_request_interval_ms: u64,
pub max_requests_per_tick: u8,
pub max_repair_attempts: u8,
pub reassembly_ttl_ms: u64,
pub request_retry_ms: u64,
pub coalesce_window_ms: u64,
pub fragment_notify_ms: u64,
pub sentinels: RenderSentinels,
}Expand description
Tuning knobs. Defaults suit a LoRa mesh; a pager may shrink the windows.
Fields§
§reorder_grace_ms: u64Grace period before acting on an inferred gap, absorbing reordering.
fragment_grace_ms: u64Minimum quiet time after the newest stored fragment before repair of that reassembly may begin. Every fragment arrival defers repair by at least this much (and by twice the observed inter-fragment gap when that is larger), so an actively delivering message is never repaired mid-flight. Platforms should set this to several frame airtimes.
group_jitter_ms: u64Maximum extra randomized delay for channel-group repair requests.
max_auto_repair_gap: u8Largest forward gap repaired automatically (spec bound: 8).
min_request_interval_ms: u64Minimum interval between resend requests on one stream.
max_requests_per_tick: u8Maximum resend requests transmitted per tick across all streams.
max_repair_attempts: u8Maximum automatic request attempts per missing frame.
reassembly_ttl_ms: u64Reassembly lifetime before a partial message is finalized.
request_retry_ms: u64Interval between repair attempts for the same frame.
coalesce_window_ms: u64Window in which duplicate resend requests are coalesced.
fragment_notify_ms: u64Latency after the first fragment of an incomplete message before the host is notified anyway (the sooner of this deadline and completion).
sentinels: RenderSentinelsTrait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EngineConfig
impl Debug for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnwindSafe for EngineConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)