pub struct MessengerConfig {
pub max_retries: u8,
pub retry_interval: Duration,
pub incoming_dedup_window: Duration,
}Expand description
Configuration knobs for the APRS messenger.
All fields are tunable; the defaults match APRS community conventions (5 retries at 30-second intervals, 5-minute incoming dedup window).
Fields§
§max_retries: u8Maximum number of transmission attempts per message.
retry_interval: DurationInterval between retry attempts.
incoming_dedup_window: DurationTTL for the incoming-message dedup cache.
Trait Implementations§
Source§impl Clone for MessengerConfig
impl Clone for MessengerConfig
Source§fn clone(&self) -> MessengerConfig
fn clone(&self) -> MessengerConfig
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 MessengerConfig
impl Debug for MessengerConfig
Source§impl Default for MessengerConfig
impl Default for MessengerConfig
Source§impl PartialEq for MessengerConfig
impl PartialEq for MessengerConfig
impl Eq for MessengerConfig
impl StructuralPartialEq for MessengerConfig
Auto Trait Implementations§
impl Freeze for MessengerConfig
impl RefUnwindSafe for MessengerConfig
impl Send for MessengerConfig
impl Sync for MessengerConfig
impl Unpin for MessengerConfig
impl UnwindSafe for MessengerConfig
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