pub struct ReceiverBounds {
pub max_tracked_window: u32,
pub max_pending_skips: usize,
pub max_outstanding_acks: usize,
}Expand description
The bounds an ARQ Receiver holds a peer to, all chosen by the caller: the crate supplies
none of them.
Fields§
§max_tracked_window: u32The most sequence numbers ahead of the cumulative ack point this receiver will ever track
(a bound on loss_list + out_of_order, which together can never name more sequence
numbers than the window spans). The effective bound is the negotiated Maximum Flow Window
Size (draft-sharabayko-srt-01 §3.2.1: a packet further ahead than the window cannot be
buffered by the peer’s own flow control either), clamped to this value so a hostile or
misconfigured window cannot turn one packet into unbounded work.
max_pending_skips: usizeMost DROPREQ ranges held ahead of the ack point at once.
max_outstanding_acks: usizeHard cap on outstanding Full ACKs awaiting an ACKACK, however long the retention.
Trait Implementations§
Source§impl Clone for ReceiverBounds
impl Clone for ReceiverBounds
impl Copy for ReceiverBounds
Source§impl Debug for ReceiverBounds
impl Debug for ReceiverBounds
impl Eq for ReceiverBounds
Source§impl PartialEq for ReceiverBounds
impl PartialEq for ReceiverBounds
impl StructuralPartialEq for ReceiverBounds
Auto Trait Implementations§
impl Forget for ReceiverBounds
impl Freeze for ReceiverBounds
impl Move for ReceiverBounds
impl RefUnwindSafe for ReceiverBounds
impl Send for ReceiverBounds
impl Sync for ReceiverBounds
impl Unpin for ReceiverBounds
impl UnsafeUnpin for ReceiverBounds
impl UnwindSafe for ReceiverBounds
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