ESPHome 2026.8.0
Loading...
Searching...
No Matches
esphome::PreferencesKeyLookupContract Concept Reference

#include <preference_backend.h>

Concept definition

template<typename T>
concept esphome::PreferencesKeyLookupContract = requires(T prefs, uint32_t type, uint8_t *data, size_t len) {
{ prefs.load_from_key(type, data, len) } -> std::same_as<bool>;
}
uint16_t type
const void size_t len
Definition hal.h:64
static void uint32_t

Detailed Description

Definition at line 112 of file preference_backend.h.