#[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
source§impl Default for os_mempool_info
impl Default for os_mempool_info
source§fn default() -> os_mempool_info
fn default() -> os_mempool_info
Returns the “default value” for a type. Read more
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes