[][src]Struct capsule_ffi::rte_flow_item_nsh

#[repr(C)]#[repr(align(4))]pub struct rte_flow_item_nsh {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>,
}

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>

Implementations

impl rte_flow_item_nsh[src]

pub fn version(&self) -> u32[src]

pub fn set_version(&mut self, val: u32)[src]

pub fn oam_pkt(&self) -> u32[src]

pub fn set_oam_pkt(&mut self, val: u32)[src]

pub fn reserved(&self) -> u32[src]

pub fn set_reserved(&mut self, val: u32)[src]

pub fn ttl(&self) -> u32[src]

pub fn set_ttl(&mut self, val: u32)[src]

pub fn length(&self) -> u32[src]

pub fn set_length(&mut self, val: u32)[src]

pub fn reserved1(&self) -> u32[src]

pub fn set_reserved1(&mut self, val: u32)[src]

pub fn mdtype(&self) -> u32[src]

pub fn set_mdtype(&mut self, val: u32)[src]

pub fn next_proto(&self) -> u32[src]

pub fn set_next_proto(&mut self, val: u32)[src]

pub fn spi(&self) -> u32[src]

pub fn set_spi(&mut self, val: u32)[src]

pub fn sindex(&self) -> u32[src]

pub fn set_sindex(&mut self, val: u32)[src]

pub fn new_bitfield_1(
    version: u32,
    oam_pkt: u32,
    reserved: u32,
    ttl: u32,
    length: u32,
    reserved1: u32,
    mdtype: u32,
    next_proto: u32,
    spi: u32,
    sindex: u32
) -> __BindgenBitfieldUnit<[u8; 8], u32>
[src]

Trait Implementations

impl Clone for rte_flow_item_nsh[src]

impl Copy for rte_flow_item_nsh[src]

impl Debug for rte_flow_item_nsh[src]

impl Default for rte_flow_item_nsh[src]

impl PartialEq<rte_flow_item_nsh> for rte_flow_item_nsh[src]

impl StructuralPartialEq for rte_flow_item_nsh[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.