[−][src]Enum pcap_file::pcapng::InterfaceDescriptionOption
Variants
Comment(&'a str)
IfName(&'a str)
The if_name option is a UTF-8 string containing the name of the device used to capture data.
IfDescription(&'a str)
The if_description option is a UTF-8 string containing the description of the device used to capture data.
The if_IPv4addr option is an IPv4 network address and corresponding netmask for the interface.
The if_IPv6addr option is an IPv6 network address and corresponding prefix length for the interface.
The if_MACaddr option is the Interface Hardware MAC address (48 bits), if available.
IfEuIAddr(u64)
The if_EUIaddr option is the Interface Hardware EUI address (64 bits), if available.
IfSpeed(u64)
The if_speed option is a 64-bit number for the Interface speed (in bits per second).
IfTsResol(u8)
The if_tsresol option identifies the resolution of timestamps.
IfTzone(u32)
The if_tzone option identifies the time zone for GMT support.
The if_filter option identifies the filter (e.g. "capture only TCP traffic") used to capture traffic.
IfOs(&'a str)
The if_os option is a UTF-8 string containing the name of the operating system of the machine in which this interface is installed.
IfFcsLen(u8)
The if_fcslen option is an 8-bit unsigned integer value that specifies the length of the Frame Check Sequence (in bits) for this interface.
IfTsOffset(u64)
The if_tsoffset option is a 64-bit integer value that specifies an offset (in seconds) that must be added to the timestamp of each packet to obtain the absolute timestamp of a packet.
IfHardware(&'a str)
The if_hardware option is a UTF-8 string containing the description of the interface hardware.
CustomBinary(CustomBinaryOption<'a>)
Custom option containing binary octets in the Custom Data portion
CustomUtf8(CustomUtf8Option<'a>)
Custom option containing a UTF-8 string in the Custom Data portion
Unknown(UnknownOption<'a>)
Unknown option
Trait Implementations
impl<'a> Clone for InterfaceDescriptionOption<'a>
[src]
fn clone(&self) -> InterfaceDescriptionOption<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for InterfaceDescriptionOption<'a>
[src]
Auto Trait Implementations
impl<'a> Send for InterfaceDescriptionOption<'a>
impl<'a> Sync for InterfaceDescriptionOption<'a>
impl<'a> Unpin for InterfaceDescriptionOption<'a>
impl<'a> UnwindSafe for InterfaceDescriptionOption<'a>
impl<'a> RefUnwindSafe for InterfaceDescriptionOption<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,