#[repr(C, align(4))]pub struct rte_flow_item_nsh {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}Fields§
§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>Implementations§
Source§impl rte_flow_item_nsh
impl rte_flow_item_nsh
pub fn version(&self) -> u32
pub fn set_version(&mut self, val: u32)
pub fn oam_pkt(&self) -> u32
pub fn set_oam_pkt(&mut self, val: u32)
pub fn reserved(&self) -> u32
pub fn set_reserved(&mut self, val: u32)
pub fn ttl(&self) -> u32
pub fn set_ttl(&mut self, val: u32)
pub fn length(&self) -> u32
pub fn set_length(&mut self, val: u32)
pub fn reserved1(&self) -> u32
pub fn set_reserved1(&mut self, val: u32)
pub fn mdtype(&self) -> u32
pub fn set_mdtype(&mut self, val: u32)
pub fn next_proto(&self) -> u32
pub fn set_next_proto(&mut self, val: u32)
pub fn spi(&self) -> u32
pub fn set_spi(&mut self, val: u32)
pub fn sindex(&self) -> u32
pub fn set_sindex(&mut self, val: u32)
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]>
Trait Implementations§
Source§impl Clone for rte_flow_item_nsh
impl Clone for rte_flow_item_nsh
Source§fn clone(&self) -> rte_flow_item_nsh
fn clone(&self) -> rte_flow_item_nsh
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for rte_flow_item_nsh
impl Debug for rte_flow_item_nsh
Source§impl Default for rte_flow_item_nsh
impl Default for rte_flow_item_nsh
Source§fn default() -> rte_flow_item_nsh
fn default() -> rte_flow_item_nsh
Returns the “default value” for a type. Read more
Source§impl PartialEq for rte_flow_item_nsh
impl PartialEq for rte_flow_item_nsh
impl Copy for rte_flow_item_nsh
impl StructuralPartialEq for rte_flow_item_nsh
Auto Trait Implementations§
impl Freeze for rte_flow_item_nsh
impl RefUnwindSafe for rte_flow_item_nsh
impl Send for rte_flow_item_nsh
impl Sync for rte_flow_item_nsh
impl Unpin for rte_flow_item_nsh
impl UnwindSafe for rte_flow_item_nsh
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more