[][src]Struct esp_idf_bindgen::esp_partition_t

#[repr(C)]pub struct esp_partition_t {
    pub flash_chip: *mut esp_flash_t,
    pub type_: esp_partition_type_t,
    pub subtype: esp_partition_subtype_t,
    pub address: u32,
    pub size: u32,
    pub label: [c_char; 17],
    pub encrypted: bool,
}

@brief partition information structure

This is not the format in flash, that format is esp_partition_info_t.

However, this is the format used by this API.

Fields

flash_chip: *mut esp_flash_t

< SPI flash chip on which the partition resides

type_: esp_partition_type_t

< partition type (app/data)

subtype: esp_partition_subtype_t

< partition subtype

address: u32

< starting address of the partition in flash

size: u32

< size of the partition, in bytes

label: [c_char; 17]

< partition label, zero-terminated ASCII string

encrypted: bool

< flag is set to true if partition is encrypted

Trait Implementations

impl Clone for esp_partition_t[src]

impl Copy for esp_partition_t[src]

impl Debug for esp_partition_t[src]

Auto Trait Implementations

impl !Send for esp_partition_t

impl !Sync for esp_partition_t

impl Unpin for esp_partition_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.