#[non_exhaustive]pub enum AckAction {
RxAckRangeDropped {
packet_number_range: RangeInclusive<u64>,
capacity: usize,
stored_range: RangeInclusive<u64>,
},
}
👎Deprecated: use on_rx_ack_range_dropped event instead
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RxAckRangeDropped
👎Deprecated: use on_rx_ack_range_dropped event instead
Ack range for received packets was dropped due to space constraints
For the purpose of processing Acks, RX packet numbers are stored as packet_number ranges in an IntervalSet; only lower and upper bounds are stored instead of individual packet_numbers. Ranges are merged when possible so only disjointed ranges are stored.
When at capacity
, the lowest packet_number range is dropped.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
packet_number_range: RangeInclusive<u64>
👎Deprecated: use on_rx_ack_range_dropped event instead
The packet number range which was dropped
§
capacity: usize
👎Deprecated: use on_rx_ack_range_dropped event instead
The number of disjoint ranges the IntervalSet can store
§
stored_range: RangeInclusive<u64>
👎Deprecated: use on_rx_ack_range_dropped event instead
The store packet_number range in the IntervalSet
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AckAction
impl RefUnwindSafe for AckAction
impl Send for AckAction
impl Sync for AckAction
impl Unpin for AckAction
impl UnwindSafe for AckAction
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