#[repr(C)]pub struct esp_https_ota_config_t {
    pub http_config: *const esp_http_client_config_t,
    pub http_client_init_cb: Option<unsafe extern "C" fn(_: *mut esp_http_client) -> i32>,
    pub bulk_flash_erase: bool,
    pub partial_http_download: bool,
    pub max_http_request_size: i32,
}Expand description
@brief ESP HTTPS OTA configuration
Fields§
§http_config: *const esp_http_client_config_t< ESP HTTP client configuration
http_client_init_cb: Option<unsafe extern "C" fn(_: *mut esp_http_client) -> i32>< Callback after ESP HTTP client is initialised
bulk_flash_erase: bool< Erase entire flash partition during initialization. By default flash partition is erased during write operation and in chunk of 4K sector size
partial_http_download: bool< Enable Firmware image to be downloaded over multiple HTTP requests
max_http_request_size: i32< Maximum request size for partial HTTP download
Trait Implementations§
Source§impl Clone for esp_https_ota_config_t
 
impl Clone for esp_https_ota_config_t
Source§fn clone(&self) -> esp_https_ota_config_t
 
fn clone(&self) -> esp_https_ota_config_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for esp_https_ota_config_t
 
impl Debug for esp_https_ota_config_t
Source§impl Default for esp_https_ota_config_t
 
impl Default for esp_https_ota_config_t
Source§fn default() -> esp_https_ota_config_t
 
fn default() -> esp_https_ota_config_t
Returns the “default value” for a type. Read more
impl Copy for esp_https_ota_config_t
Auto Trait Implementations§
impl Freeze for esp_https_ota_config_t
impl RefUnwindSafe for esp_https_ota_config_t
impl !Send for esp_https_ota_config_t
impl !Sync for esp_https_ota_config_t
impl Unpin for esp_https_ota_config_t
impl UnwindSafe for esp_https_ota_config_t
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
 
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)