#[repr(C)]pub struct rte_mempool {
pub name: [c_char; 32],
pub size: c_uint,
pub populated_size: c_uint,
pub elt_size: c_uint,
pub flags: c_uint,
}Expand description
Memory pool (simplified stub version for testing)
Fields§
§name: [c_char; 32]Pool name
size: c_uintTotal size of the mempool
populated_size: c_uintNumber of elements populated
elt_size: c_uintElement size
flags: c_uintFlags
Trait Implementations§
Source§impl Debug for rte_mempool
impl Debug for rte_mempool
Source§impl Default for rte_mempool
impl Default for rte_mempool
Source§fn default() -> rte_mempool
fn default() -> rte_mempool
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for rte_mempool
impl RefUnwindSafe for rte_mempool
impl Send for rte_mempool
impl Sync for rte_mempool
impl Unpin for rte_mempool
impl UnsafeUnpin for rte_mempool
impl UnwindSafe for rte_mempool
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