pub struct PacketInfo {
pub delivered_bytes: u64,
pub delivered_time: Timestamp,
pub lost_bytes: u64,
pub ecn_ce_count: u64,
pub first_sent_time: Timestamp,
pub bytes_in_flight: u32,
pub is_app_limited: bool,
}Expand description
Bandwidth-related data tracked for each sent packet
Fields§
§delivered_bytes: u64Estimator::delivered_bytes at the time this packet was sent.
delivered_time: TimestampEstimator::delivered_time at the time this packet was sent.
lost_bytes: u64Estimator::lost_bytes at the time this packet was sent.
ecn_ce_count: u64Estimator::ecn_ce_count at the time this packet was sent.
first_sent_time: TimestampEstimator::first_sent_time at the time this packet was sent.
bytes_in_flight: u32The volume of data that was estimated to be in flight at the time of the transmission of this packet
is_app_limited: boolWhether the path send rate was limited by the application rather than congestion control at the time this packet was sent
Trait Implementations§
Source§impl Clone for PacketInfo
impl Clone for PacketInfo
Source§fn clone(&self) -> PacketInfo
fn clone(&self) -> PacketInfo
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 PacketInfo
impl Debug for PacketInfo
Source§impl Hash for PacketInfo
impl Hash for PacketInfo
Source§impl PartialEq for PacketInfo
impl PartialEq for PacketInfo
impl Copy for PacketInfo
impl Eq for PacketInfo
impl StructuralPartialEq for PacketInfo
Auto Trait Implementations§
impl Freeze for PacketInfo
impl RefUnwindSafe for PacketInfo
impl Send for PacketInfo
impl Sync for PacketInfo
impl Unpin for PacketInfo
impl UnwindSafe for PacketInfo
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