#[repr(C)]pub struct wtap_packet_header {
pub caplen: guint32,
pub len: guint32,
pub pkt_encap: c_int,
pub interface_id: guint32,
pub pseudo_header: wtap_pseudo_header,
}Fields§
§caplen: guint32§len: guint32§pkt_encap: c_int§interface_id: guint32§pseudo_header: wtap_pseudo_headerTrait Implementations§
Source§impl Clone for wtap_packet_header
impl Clone for wtap_packet_header
Source§fn clone(&self) -> wtap_packet_header
fn clone(&self) -> wtap_packet_header
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 moreimpl Copy for wtap_packet_header
Auto Trait Implementations§
impl Freeze for wtap_packet_header
impl RefUnwindSafe for wtap_packet_header
impl !Send for wtap_packet_header
impl !Sync for wtap_packet_header
impl Unpin for wtap_packet_header
impl UnwindSafe for wtap_packet_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