[][src]Struct capsule_ffi::rte_mempool

#[repr(C)]#[repr(align(64))]pub struct rte_mempool {
    pub name: [c_char; 32],
    pub __bindgen_anon_1: rte_mempool__bindgen_ty_1,
    pub pool_config: *mut c_void,
    pub mz: *const rte_memzone,
    pub flags: c_uint,
    pub socket_id: c_int,
    pub size: u32,
    pub cache_size: u32,
    pub elt_size: u32,
    pub header_size: u32,
    pub trailer_size: u32,
    pub private_data_size: c_uint,
    pub ops_index: i32,
    pub local_cache: *mut rte_mempool_cache,
    pub populated_size: u32,
    pub elt_list: rte_mempool_objhdr_list,
    pub nb_mem_chunks: u32,
    pub mem_list: rte_mempool_memhdr_list,
}

Fields

name: [c_char; 32]__bindgen_anon_1: rte_mempool__bindgen_ty_1pool_config: *mut c_voidmz: *const rte_memzoneflags: c_uintsocket_id: c_intsize: u32cache_size: u32elt_size: u32header_size: u32trailer_size: u32private_data_size: c_uintops_index: i32local_cache: *mut rte_mempool_cachepopulated_size: u32elt_list: rte_mempool_objhdr_listnb_mem_chunks: u32mem_list: rte_mempool_memhdr_list

Trait Implementations

impl Clone for rte_mempool[src]

impl Copy for rte_mempool[src]

impl Default for rte_mempool[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.