[][src]Struct esp_idf_bindgen::multi_heap_info_t

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

@brief Structure to access heap metadata via multi_heap_get_info

Fields

total_free_bytes: size_t

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

total_allocated_bytes: size_t

< Total bytes allocated to data in the heap.

largest_free_block: size_t

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

minimum_free_bytes: size_t

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

allocated_blocks: size_t

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

free_blocks: size_t

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

total_blocks: size_t

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

Trait Implementations

impl Clone for multi_heap_info_t[src]

impl Copy for multi_heap_info_t[src]

impl Debug for multi_heap_info_t[src]

Auto Trait Implementations

impl Send for multi_heap_info_t

impl Sync for multi_heap_info_t

impl Unpin for multi_heap_info_t

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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> 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.