#[repr(C)]pub struct pcap_file_header {
pub magic: bpf_u_int32,
pub version_major: u_short,
pub version_minor: u_short,
pub thiszone: bpf_int32,
pub sigfigs: bpf_u_int32,
pub snaplen: bpf_u_int32,
pub linktype: bpf_u_int32,
}
Fields§
§magic: bpf_u_int32
§version_major: u_short
§version_minor: u_short
§thiszone: bpf_int32
§sigfigs: bpf_u_int32
§snaplen: bpf_u_int32
§linktype: bpf_u_int32
Trait Implementations§
Source§impl Clone for pcap_file_header
impl Clone for pcap_file_header
Source§fn clone(&self) -> pcap_file_header
fn clone(&self) -> pcap_file_header
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for pcap_file_header
impl Debug for pcap_file_header
impl Copy for pcap_file_header
Auto Trait Implementations§
impl Freeze for pcap_file_header
impl RefUnwindSafe for pcap_file_header
impl Send for pcap_file_header
impl Sync for pcap_file_header
impl Unpin for pcap_file_header
impl UnwindSafe for pcap_file_header
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