[−][src]Function esp_idf_bindgen::nvs_erase_all
pub unsafe extern "C" fn nvs_erase_all(handle: nvs_handle_t) -> esp_err_t
@brief Erase all key-value pairs in a namespace
Note that actual storage may not be updated until nvs_commit function is called.
@param[in] handle Storage handle obtained with nvs_open. Handles that were opened read only cannot be used.
@return - ESP_OK if erase operation was successful - ESP_ERR_NVS_INVALID_HANDLE if handle has been closed or is NULL - ESP_ERR_NVS_READ_ONLY if handle was opened as read only - other error codes from the underlying storage driver