Struct rustix::net::xdp::XdpMmapOffsets
source · pub struct XdpMmapOffsets {
pub rx: XdpRingOffset,
pub tx: XdpRingOffset,
pub fr: XdpRingOffset,
pub cr: XdpRingOffset,
}
Expand description
XDP mmap offsets.
Not ABI compatible with struct xdp_mmap_offsets
Fields§
§rx: XdpRingOffset
Rx ring offsets.
tx: XdpRingOffset
Tx ring offsets.
fr: XdpRingOffset
Fill ring offsets.
cr: XdpRingOffset
Completion ring offsets.
Trait Implementations§
source§impl Clone for XdpMmapOffsets
impl Clone for XdpMmapOffsets
source§fn clone(&self) -> XdpMmapOffsets
fn clone(&self) -> XdpMmapOffsets
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 XdpMmapOffsets
impl Debug for XdpMmapOffsets
source§impl Hash for XdpMmapOffsets
impl Hash for XdpMmapOffsets
source§impl PartialEq for XdpMmapOffsets
impl PartialEq for XdpMmapOffsets
source§fn eq(&self, other: &XdpMmapOffsets) -> bool
fn eq(&self, other: &XdpMmapOffsets) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XdpMmapOffsets
impl Eq for XdpMmapOffsets
impl StructuralPartialEq for XdpMmapOffsets
Auto Trait Implementations§
impl Freeze for XdpMmapOffsets
impl RefUnwindSafe for XdpMmapOffsets
impl Send for XdpMmapOffsets
impl Sync for XdpMmapOffsets
impl Unpin for XdpMmapOffsets
impl UnwindSafe for XdpMmapOffsets
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: 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
)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
)