Struct esp_idf_sys::esp_https_ota_config_t
source · #[repr(C)]pub struct esp_https_ota_config_t {
pub http_config: *const esp_http_client_config_t,
pub http_client_init_cb: http_client_init_cb_t,
pub bulk_flash_erase: bool,
pub partial_http_download: bool,
pub max_http_request_size: c_int,
pub buffer_caps: u32,
}
Expand description
@brief ESP HTTPS OTA configuration
Fields§
§http_config: *const esp_http_client_config_t
< ESP HTTP client configuration
http_client_init_cb: http_client_init_cb_t
< 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: c_int
< Maximum request size for partial HTTP download
buffer_caps: u32
< The memory capability to use when allocating the buffer for OTA update. Default capability is MALLOC_CAP_DEFAULT
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
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 T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)