Union linux_raw_sys::if_packet::tpacket_stats_u
source · #[repr(C)]
pub union tpacket_stats_u {
pub stats1: tpacket_stats,
pub stats3: tpacket_stats_v3,
}
Fields§
§stats1: tpacket_stats
§stats3: tpacket_stats_v3
Trait Implementations§
source§impl Clone for tpacket_stats_u
impl Clone for tpacket_stats_u
source§fn clone(&self) -> tpacket_stats_u
fn clone(&self) -> tpacket_stats_u
Returns a copy 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 tpacket_stats_u
Auto Trait Implementations§
impl Freeze for tpacket_stats_u
impl RefUnwindSafe for tpacket_stats_u
impl Send for tpacket_stats_u
impl Sync for tpacket_stats_u
impl Unpin for tpacket_stats_u
impl UnwindSafe for tpacket_stats_u
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)