Struct pcarp::iface::InterfaceId
source · pub struct InterfaceId(pub u32, pub u32);
Expand description
The ID a network interface.
Note: Packets from different sections will have different interface IDs, even if they were actually captured from the same interface.
Tuple Fields§
§0: u32
§1: u32
Trait Implementations§
source§impl Clone for InterfaceId
impl Clone for InterfaceId
source§fn clone(&self) -> InterfaceId
fn clone(&self) -> InterfaceId
Returns a copy 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 InterfaceId
impl Debug for InterfaceId
source§impl PartialEq<InterfaceId> for InterfaceId
impl PartialEq<InterfaceId> for InterfaceId
source§fn eq(&self, other: &InterfaceId) -> bool
fn eq(&self, other: &InterfaceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.