[][src]Struct esp_idf_sys::multi_heap_info_t

#[repr(C)]
pub struct multi_heap_info_t {
    pub total_free_bytes: usize,
    pub total_allocated_bytes: usize,
    pub largest_free_block: usize,
    pub minimum_free_bytes: usize,
    pub allocated_blocks: usize,
    pub free_blocks: usize,
    pub total_blocks: usize,
}

@brief Structure to access heap metadata via multi_heap_get_info

Fields

total_free_bytes: usize

< Total free bytes in the heap. Equivalent to multi_free_heap_size().

total_allocated_bytes: usize

< Total bytes allocated to data in the heap.

largest_free_block: usize

< Size of largest free block in the heap. This is the largest malloc-able size.

minimum_free_bytes: usize

< Lifetime minimum free heap size. Equivalent to multi_minimum_free_heap_size().

allocated_blocks: usize

< Number of (variable size) blocks allocated in the heap.

free_blocks: usize

< Number of (variable size) free blocks in the heap.

total_blocks: usize

< Total number of (variable size) blocks in the heap.

Trait Implementations

impl Debug for multi_heap_info_t[src]

impl Copy for multi_heap_info_t[src]

impl Clone for multi_heap_info_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

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