pub struct PacketSample { /* private fields */ }Expand description
Per-packet rate-sample snapshot, stored by the caller alongside each in-flight packet and handed back when that packet is delivered.
Trait Implementations§
Source§impl Clone for PacketSample
impl Clone for PacketSample
Source§fn clone(&self) -> PacketSample
fn clone(&self) -> PacketSample
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 PacketSample
Auto Trait Implementations§
impl Freeze for PacketSample
impl RefUnwindSafe for PacketSample
impl Send for PacketSample
impl Sync for PacketSample
impl Unpin for PacketSample
impl UnsafeUnpin for PacketSample
impl UnwindSafe for PacketSample
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