pub struct ICMPPacketInfo {
pub ts: Duration,
pub direction: PacketDirection,
pub noise: NoiseType,
}Expand description
Metadata of ICMP packet Some information about an ICMP packet
Fields§
§ts: Durationthe timestamp of the packet
direction: PacketDirectionthe direction of the packet
noise: NoiseTypewhether the packet is a noise
Trait Implementations§
Source§impl Clone for ICMPPacketInfo
impl Clone for ICMPPacketInfo
Source§fn clone(&self) -> ICMPPacketInfo
fn clone(&self) -> ICMPPacketInfo
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 ICMPPacketInfo
impl Debug for ICMPPacketInfo
Source§impl PacketInfo for ICMPPacketInfo
impl PacketInfo for ICMPPacketInfo
Auto Trait Implementations§
impl Freeze for ICMPPacketInfo
impl RefUnwindSafe for ICMPPacketInfo
impl Send for ICMPPacketInfo
impl Sync for ICMPPacketInfo
impl Unpin for ICMPPacketInfo
impl UnwindSafe for ICMPPacketInfo
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