Struct libbpf_sys::xdp_mmap_offsets
source · [−]#[repr(C)]pub struct xdp_mmap_offsets {
pub rx: xdp_ring_offset,
pub tx: xdp_ring_offset,
pub fr: xdp_ring_offset,
pub cr: xdp_ring_offset,
}
Fields
rx: xdp_ring_offset
tx: xdp_ring_offset
fr: xdp_ring_offset
cr: xdp_ring_offset
Trait Implementations
sourceimpl Clone for xdp_mmap_offsets
impl Clone for xdp_mmap_offsets
sourcefn clone(&self) -> xdp_mmap_offsets
fn clone(&self) -> xdp_mmap_offsets
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for xdp_mmap_offsets
impl Debug for xdp_mmap_offsets
sourceimpl Default for xdp_mmap_offsets
impl Default for xdp_mmap_offsets
sourcefn default() -> xdp_mmap_offsets
fn default() -> xdp_mmap_offsets
Returns the “default value” for a type. Read more
impl Copy for xdp_mmap_offsets
Auto Trait Implementations
impl RefUnwindSafe for xdp_mmap_offsets
impl Send for xdp_mmap_offsets
impl Sync for xdp_mmap_offsets
impl Unpin for xdp_mmap_offsets
impl UnwindSafe for xdp_mmap_offsets
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more