Struct xsk_tx_metadata

#[repr(C)]
pub struct xsk_tx_metadata { pub flags: __u64, pub xsk_tx_metadata_union: __c_anonymous_xsk_tx_metadata_union }

Fields

flags: __u64
xsk_tx_metadata_union: __c_anonymous_xsk_tx_metadata_union

Trait Implementations

impl Clone for xsk_tx_metadata

fn clone(&self) -> xsk_tx_metadata

impl Copy for xsk_tx_metadata

impl Debug for xsk_tx_metadata

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

Auto Trait Implementations

impl Freeze for xsk_tx_metadata

impl RefUnwindSafe for xsk_tx_metadata

impl Send for xsk_tx_metadata

impl Sync for xsk_tx_metadata

impl Unpin for xsk_tx_metadata

impl UnsafeUnpin for xsk_tx_metadata

impl UnwindSafe for xsk_tx_metadata

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for xsk_tx_metadata

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for xsk_tx_metadata 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 xsk_tx_metadata where U: Into<T>,

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

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

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