[][src]Struct capsule_ffi::rte_flow_attr

#[repr(C)]pub struct rte_flow_attr {
    pub group: u32,
    pub priority: u32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
}

Fields

group: u32priority: u32_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>

Implementations

impl rte_flow_attr[src]

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    ingress: u32,
    egress: u32,
    transfer: u32,
    reserved: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for rte_flow_attr[src]

impl Copy for rte_flow_attr[src]

impl Debug for rte_flow_attr[src]

impl Default for rte_flow_attr[src]

impl PartialEq<rte_flow_attr> for rte_flow_attr[src]

impl StructuralPartialEq for rte_flow_attr[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.