#[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§
Source§impl Clone for os_mempool_info
impl Clone for os_mempool_info
Source§fn clone(&self) -> os_mempool_info
fn clone(&self) -> os_mempool_info
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for os_mempool_info
impl Debug for os_mempool_info
impl Copy for os_mempool_info
Auto Trait Implementations§
impl Freeze for os_mempool_info
impl RefUnwindSafe for os_mempool_info
impl Send for os_mempool_info
impl Sync for os_mempool_info
impl Unpin for os_mempool_info
impl UnwindSafe for os_mempool_info
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