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
source§fn eq(&self, other: &tpacket_req) -> bool
fn eq(&self, other: &tpacket_req) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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