pub struct ArrivalGroup {
pub first_departure: Instant,
pub departure: Instant,
pub arrival: Duration,
pub packets: usize,
pub size: usize,
}Expand description
A run of packets that departed together, and when they turned up.
Fields§
§first_departure: InstantWhen the first packet of the group left.
departure: InstantWhen the last packet of the group left.
arrival: DurationWhen the last packet of the group arrived, on the receiver’s clock.
packets: usizeHow many packets the group holds.
size: usizeTotal wire size, in bytes.
Trait Implementations§
Source§impl Clone for ArrivalGroup
impl Clone for ArrivalGroup
Source§fn clone(&self) -> ArrivalGroup
fn clone(&self) -> ArrivalGroup
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 ArrivalGroup
Source§impl Debug for ArrivalGroup
impl Debug for ArrivalGroup
Source§impl PartialEq for ArrivalGroup
impl PartialEq for ArrivalGroup
impl StructuralPartialEq for ArrivalGroup
Auto Trait Implementations§
impl Freeze for ArrivalGroup
impl RefUnwindSafe for ArrivalGroup
impl Send for ArrivalGroup
impl Sync for ArrivalGroup
impl Unpin for ArrivalGroup
impl UnsafeUnpin for ArrivalGroup
impl UnwindSafe for ArrivalGroup
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