Struct pcap_parser::Linktype
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)