#[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], }
Expand description

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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.