[][src]Struct capsule_ffi::rte_ring

#[repr(C)]#[repr(align(64))]pub struct rte_ring {
    pub name: [c_char; 32],
    pub flags: c_int,
    pub memzone: *const rte_memzone,
    pub size: u32,
    pub mask: u32,
    pub capacity: u32,
    pub __bindgen_padding_0: [u8; 4],
    pub pad0: c_char,
    pub __bindgen_padding_1: [u32; 15],
    pub prod: rte_ring_headtail,
    pub __bindgen_padding_2: [u8; 52],
    pub pad1: c_char,
    pub __bindgen_padding_3: [u32; 15],
    pub cons: rte_ring_headtail,
    pub __bindgen_padding_4: [u8; 52],
    pub pad2: c_char,
}

Fields

name: [c_char; 32]flags: c_intmemzone: *const rte_memzonesize: u32mask: u32capacity: u32__bindgen_padding_0: [u8; 4]pad0: c_char__bindgen_padding_1: [u32; 15]prod: rte_ring_headtail__bindgen_padding_2: [u8; 52]pad1: c_char__bindgen_padding_3: [u32; 15]cons: rte_ring_headtail__bindgen_padding_4: [u8; 52]pad2: c_char

Trait Implementations

impl Clone for rte_ring[src]

impl Copy for rte_ring[src]

impl Default for rte_ring[src]

Auto Trait Implementations

impl RefUnwindSafe for rte_ring

impl !Send for rte_ring

impl !Sync for rte_ring

impl Unpin for rte_ring

impl UnwindSafe for rte_ring

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.