[][src]Struct mynewt::kernel::os::os_mempool_info

#[repr(C)]
pub struct os_mempool_info { pub omi_block_size: c_int, pub omi_num_blocks: c_int, pub omi_num_free: c_int, pub omi_min_free: c_int, pub omi_name: [c_char; 32], }

Information describing a memory pool, used to return OS information to the management layer.

Fields

omi_block_size: c_int

Size of the memory blocks in the pool

omi_num_blocks: c_int

Number of memory blocks in the pool

omi_num_free: c_int

Number of free memory blocks

omi_min_free: c_int

Minimum number of free memory blocks ever

omi_name: [c_char; 32]

Name of the memory pool

Trait Implementations

impl Default for os_mempool_info[src]

Auto Trait Implementations

impl Send for os_mempool_info

impl Sync for os_mempool_info

Blanket Implementations

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]