pub struct InputConfig {
pub max_queued_incoming: u16,
pub acknowledge_all_data: bool,
pub data_ack_window: u16,
pub max_ack_delay: Duration,
}Expand description
Configuration controlling the input channel’s behaviour.
Fields§
§max_queued_incoming: u16Maximum number of incoming reliable data packets that may be stashed.
acknowledge_all_data: boolWhether every data packet is acknowledged individually.
data_ack_window: u16The acknowledgement window used to decide when to send an AcknowledgeAll.
max_ack_delay: DurationMaximum delay before acknowledging incoming reliable data sequences.
Trait Implementations§
Source§impl Clone for InputConfig
impl Clone for InputConfig
Source§fn clone(&self) -> InputConfig
fn clone(&self) -> InputConfig
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 moreSource§impl Debug for InputConfig
impl Debug for InputConfig
Auto Trait Implementations§
impl Freeze for InputConfig
impl RefUnwindSafe for InputConfig
impl Send for InputConfig
impl Sync for InputConfig
impl Unpin for InputConfig
impl UnsafeUnpin for InputConfig
impl UnwindSafe for InputConfig
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