pub struct Linktype(pub i32);
Expand description
Data link type
The link-layer header type specifies the type of headers at the beginning of the packet.
Tuple Fields§
§0: i32
Implementations§
Source§impl Linktype
impl Linktype
pub const NULL: Linktype
pub const ETHERNET: Linktype
pub const FDDI: Linktype
pub const RAW: Linktype
pub const LOOP: Linktype
pub const LINUX_SLL: Linktype
pub const LINUX_SLL2: Linktype
pub const IPV4: Linktype
pub const IPV6: Linktype
pub const NFLOG: Linktype
pub const WIRESHARK_UPPER_PDU: Linktype
Trait Implementations§
impl Copy for Linktype
impl Eq for Linktype
impl StructuralPartialEq for Linktype
Auto Trait Implementations§
impl Freeze for Linktype
impl RefUnwindSafe for Linktype
impl Send for Linktype
impl Sync for Linktype
impl Unpin for Linktype
impl UnwindSafe for Linktype
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