Struct libc::unix::linux_like::linux::tpacket_req
source · #[repr(C)]pub struct tpacket_req {
pub tp_block_size: c_uint,
pub tp_block_nr: c_uint,
pub tp_frame_size: c_uint,
pub tp_frame_nr: c_uint,
}
Fields§
§tp_block_size: c_uint
§tp_block_nr: c_uint
§tp_frame_size: c_uint
§tp_frame_nr: c_uint
Trait Implementations§
source§impl Clone for tpacket_req
impl Clone for tpacket_req
source§fn clone(&self) -> tpacket_req
fn clone(&self) -> tpacket_req
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 moresource§impl Debug for tpacket_req
impl Debug for tpacket_req
source§impl Hash for tpacket_req
impl Hash for tpacket_req
source§impl PartialEq for tpacket_req
impl PartialEq for tpacket_req
impl Copy for tpacket_req
impl Eq for tpacket_req
impl StructuralPartialEq for tpacket_req
Auto Trait Implementations§
impl Freeze for tpacket_req
impl RefUnwindSafe for tpacket_req
impl Send for tpacket_req
impl Sync for tpacket_req
impl Unpin for tpacket_req
impl UnwindSafe for tpacket_req
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§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
)