pub enum InterfaceOptionCodes {
Show 16 variants
IfName = 2,
IfDescription = 3,
IfIPv4Address = 4,
IfIPv6Address = 5,
IfMACAddress = 6,
IfEuiAddr = 7,
IfSpeed = 8,
IfTimestampResolution = 9,
IfTZone = 10,
IfFilter = 11,
IfOS = 12,
IfFcsLength = 13,
IfTsOffset = 14,
IfHardware = 15,
IfTxSpeed = 16,
IfRxSpeed = 17,
}Expand description
Options for the Interface Description Block
Variants§
IfName = 2
The if_name option is a UTF-8 string containing the name of the device used to capture data. The string is not zero-terminated.
IfDescription = 3
The if_description option is a UTF-8 string containing the description of the device used to capture data. The string is not zero-terminated.
IfIPv4Address = 4
IfIPv6Address = 5
IfMACAddress = 6
IfEuiAddr = 7
IfSpeed = 8
The if_speed option is a 64-bit unsigned value indicating the interface speed, in bits per second.
IfTimestampResolution = 9
IfTZone = 10
IfFilter = 11
IfOS = 12
IfFcsLength = 13
IfTsOffset = 14
IfHardware = 15
IfTxSpeed = 16
IfRxSpeed = 17
Trait Implementations§
Source§impl Clone for InterfaceOptionCodes
impl Clone for InterfaceOptionCodes
Source§fn clone(&self) -> InterfaceOptionCodes
fn clone(&self) -> InterfaceOptionCodes
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 InterfaceOptionCodes
impl Debug for InterfaceOptionCodes
Source§impl PartialEq for InterfaceOptionCodes
impl PartialEq for InterfaceOptionCodes
Source§impl TryFrom<u16> for InterfaceOptionCodes
impl TryFrom<u16> for InterfaceOptionCodes
impl Copy for InterfaceOptionCodes
impl Eq for InterfaceOptionCodes
impl StructuralPartialEq for InterfaceOptionCodes
Auto Trait Implementations§
impl Freeze for InterfaceOptionCodes
impl RefUnwindSafe for InterfaceOptionCodes
impl Send for InterfaceOptionCodes
impl Sync for InterfaceOptionCodes
impl Unpin for InterfaceOptionCodes
impl UnwindSafe for InterfaceOptionCodes
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