Struct xdp_mmap_offsets

#[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

impl Clone for xdp_mmap_offsets

fn clone(&self) -> xdp_mmap_offsets

impl Copy for xdp_mmap_offsets

impl Debug for xdp_mmap_offsets

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for xdp_mmap_offsets

impl Hash for xdp_mmap_offsets

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for xdp_mmap_offsets

fn eq(&self, other: &xdp_mmap_offsets) -> bool

impl StructuralPartialEq for xdp_mmap_offsets

Auto Trait Implementations

impl Freeze for xdp_mmap_offsets

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 UnsafeUnpin for xdp_mmap_offsets

impl UnwindSafe for xdp_mmap_offsets

Blanket Implementations

impl<T> Any for xdp_mmap_offsets where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for xdp_mmap_offsets where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for xdp_mmap_offsets where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for xdp_mmap_offsets where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for xdp_mmap_offsets

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for xdp_mmap_offsets where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for xdp_mmap_offsets where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for xdp_mmap_offsets where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>