[][src]Enum esp_idf_bindgen::esp_ota_img_states_t

#[repr(u32)]pub enum esp_ota_img_states_t {
    ESP_OTA_IMG_NEW,
    ESP_OTA_IMG_PENDING_VERIFY,
    ESP_OTA_IMG_VALID,
    ESP_OTA_IMG_INVALID,
    ESP_OTA_IMG_ABORTED,
    ESP_OTA_IMG_UNDEFINED,
}

OTA_DATA states for checking operability of the app.

Variants

ESP_OTA_IMG_NEW

< Monitor the first boot. In bootloader this state is changed to ESP_OTA_IMG_PENDING_VERIFY.

ESP_OTA_IMG_PENDING_VERIFY

< First boot for this app was. If while the second boot this state is then it will be changed to ABORTED.

ESP_OTA_IMG_VALID

< App was confirmed as workable. App can boot and work without limits.

ESP_OTA_IMG_INVALID

< App was confirmed as non-workable. This app will not selected to boot at all.

ESP_OTA_IMG_ABORTED

< App could not confirm the workable or non-workable. In bootloader IMG_PENDING_VERIFY state will be changed to IMG_ABORTED. This app will not selected to boot at all.

ESP_OTA_IMG_UNDEFINED

< Undefined. App can boot and work without limits.

Trait Implementations

impl Clone for esp_ota_img_states_t[src]

impl Copy for esp_ota_img_states_t[src]

impl Debug for esp_ota_img_states_t[src]

impl Eq for esp_ota_img_states_t[src]

impl Hash for esp_ota_img_states_t[src]

impl PartialEq<esp_ota_img_states_t> for esp_ota_img_states_t[src]

impl StructuralEq for esp_ota_img_states_t[src]

impl StructuralPartialEq for esp_ota_img_states_t[src]

Auto Trait Implementations

impl Send for esp_ota_img_states_t

impl Sync for esp_ota_img_states_t

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