pub struct PacketLossStats {
pub expected_packets: usize,
pub received_packets: usize,
pub missing_packet_numbers: Vec<i64>,
pub duplicate_packet_numbers: Vec<i64>,
pub out_of_frame_packet_numbers: Vec<i64>,
}Fields§
§expected_packets: usize§received_packets: usize§missing_packet_numbers: Vec<i64>§duplicate_packet_numbers: Vec<i64>§out_of_frame_packet_numbers: Vec<i64>Trait Implementations§
Source§impl Clone for PacketLossStats
impl Clone for PacketLossStats
Source§fn clone(&self) -> PacketLossStats
fn clone(&self) -> PacketLossStats
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 PacketLossStats
impl Debug for PacketLossStats
impl Eq for PacketLossStats
Source§impl PartialEq for PacketLossStats
impl PartialEq for PacketLossStats
impl StructuralPartialEq for PacketLossStats
Auto Trait Implementations§
impl Freeze for PacketLossStats
impl RefUnwindSafe for PacketLossStats
impl Send for PacketLossStats
impl Sync for PacketLossStats
impl Unpin for PacketLossStats
impl UnsafeUnpin for PacketLossStats
impl UnwindSafe for PacketLossStats
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