[][src]Struct apache_nimble_sys::os_mempool

#[repr(C)]pub struct os_mempool {
    pub mp_block_size: u32,
    pub mp_num_blocks: u16,
    pub mp_num_free: u16,
    pub mp_min_free: u16,
    pub mp_flags: u8,
    pub mp_membuf_addr: usize,
    pub mp_list: os_mempool__bindgen_ty_1,
    pub __bindgen_anon_1: os_mempool__bindgen_ty_2,
    pub name: *mut c_char,
}

Memory pool

Fields

mp_block_size: u32

Size of the memory blocks, in bytes.

mp_num_blocks: u16

The number of memory blocks.

mp_num_free: u16

The number of free blocks left

mp_min_free: u16

The lowest number of free blocks seen

mp_flags: u8

Bitmap of OS_MEMPOOL_F_[...] values.

mp_membuf_addr: usize

Address of memory buffer used by pool

mp_list: os_mempool__bindgen_ty_1__bindgen_anon_1: os_mempool__bindgen_ty_2name: *mut c_char

Name for memory block

Trait Implementations

impl Clone for os_mempool[src]

impl Copy for os_mempool[src]

impl Debug for os_mempool[src]

Auto Trait Implementations

impl !Send for os_mempool

impl !Sync for os_mempool

impl Unpin for os_mempool

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, 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.