esp_idf_svc::nvs

Type Alias EspCustomNvsPartition

Source
pub type EspCustomNvsPartition = EspNvsPartition<NvsCustom>;

Aliased Type§

struct EspCustomNvsPartition(/* private fields */);

Implementations

Source§

impl EspNvsPartition<NvsCustom>

Source

pub fn take(partition: &str) -> Result<Self, EspError>

Trait Implementations

Source§

impl<T> Clone for EspNvsPartition<T>
where T: NvsPartitionId,

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug + NvsPartitionId> Debug for EspNvsPartition<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl RawHandle for EspNvsPartition<NvsCustom>

Source§

type Handle = *const u8

Source§

fn handle(&self) -> Self::Handle

Care should be taken to use the returned ESP-IDF driver raw handle only while the driver is still alive, so as to avoid use-after-free errors.