pub struct ReliableClientConfig {
pub max_in_flight_per_peer: usize,
pub retry_after_ticks: u64,
pub max_attempts: u8,
pub max_payload_bytes: usize,
pub max_delivered_history: usize,
}Expand description
Bounded reliable client link configuration.
Fields§
§max_in_flight_per_peer: usizeMaximum in-flight reliable packets per peer client.
retry_after_ticks: u64Number of ticks to wait before retrying an unacknowledged packet.
max_attempts: u8Maximum send attempts before dropping an in-flight packet.
max_payload_bytes: usizeMaximum payload bytes before reliable envelope overhead.
max_delivered_history: usizeMaximum recently delivered packet ids retained for duplicate suppression. Set to zero to disable duplicate suppression history.
Trait Implementations§
Source§impl Clone for ReliableClientConfig
impl Clone for ReliableClientConfig
Source§fn clone(&self) -> ReliableClientConfig
fn clone(&self) -> ReliableClientConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReliableClientConfig
Source§impl Debug for ReliableClientConfig
impl Debug for ReliableClientConfig
Source§impl Default for ReliableClientConfig
impl Default for ReliableClientConfig
impl Eq for ReliableClientConfig
Source§impl PartialEq for ReliableClientConfig
impl PartialEq for ReliableClientConfig
impl StructuralPartialEq for ReliableClientConfig
Auto Trait Implementations§
impl Freeze for ReliableClientConfig
impl RefUnwindSafe for ReliableClientConfig
impl Send for ReliableClientConfig
impl Sync for ReliableClientConfig
impl Unpin for ReliableClientConfig
impl UnsafeUnpin for ReliableClientConfig
impl UnwindSafe for ReliableClientConfig
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