pub struct PcapRecordHeader {
pub ts_sec: u32,
pub ts_usec: u32,
pub incl_len: u32,
pub orig_len: u32,
}Expand description
Per-Record Pcap-Header (16 Bytes).
Fields§
§ts_sec: u32Timestamp-Sekunden.
ts_usec: u32Timestamp-Microsekunden (oder ns je nach Magic).
incl_len: u32Captured-Length (≤ snaplen).
orig_len: u32Original-Length im Wire.
Trait Implementations§
Source§impl Clone for PcapRecordHeader
impl Clone for PcapRecordHeader
Source§fn clone(&self) -> PcapRecordHeader
fn clone(&self) -> PcapRecordHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PcapRecordHeader
impl Debug for PcapRecordHeader
Source§impl PartialEq for PcapRecordHeader
impl PartialEq for PcapRecordHeader
Source§fn eq(&self, other: &PcapRecordHeader) -> bool
fn eq(&self, other: &PcapRecordHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PcapRecordHeader
impl Eq for PcapRecordHeader
impl StructuralPartialEq for PcapRecordHeader
Auto Trait Implementations§
impl Freeze for PcapRecordHeader
impl RefUnwindSafe for PcapRecordHeader
impl Send for PcapRecordHeader
impl Sync for PcapRecordHeader
impl Unpin for PcapRecordHeader
impl UnsafeUnpin for PcapRecordHeader
impl UnwindSafe for PcapRecordHeader
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