#[repr(C, packed(1))]pub struct _pcapng_interface_description_block_t {
pub block_type: u32,
pub block_total_length: u32,
pub linktype: u16,
pub reserved: u16,
pub snaplen: u32,
}Fields§
§block_type: u32§block_total_length: u32§linktype: u16§reserved: u16§snaplen: u32Trait Implementations§
Source§impl Clone for _pcapng_interface_description_block_t
impl Clone for _pcapng_interface_description_block_t
Source§fn clone(&self) -> _pcapng_interface_description_block_t
fn clone(&self) -> _pcapng_interface_description_block_t
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 moreimpl Copy for _pcapng_interface_description_block_t
Auto Trait Implementations§
impl Freeze for _pcapng_interface_description_block_t
impl RefUnwindSafe for _pcapng_interface_description_block_t
impl Send for _pcapng_interface_description_block_t
impl Sync for _pcapng_interface_description_block_t
impl Unpin for _pcapng_interface_description_block_t
impl UnsafeUnpin for _pcapng_interface_description_block_t
impl UnwindSafe for _pcapng_interface_description_block_t
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