ariel_os::storage

Function insert

pub async fn insert<'d, V>(key: &str, value: V) -> Result<(), Error<FlashError>>
where V: Serialize + Deserialize<'d> + Into<PostcardValue<V>>,
Available on crate feature storage only.
Expand description

Stores a key-value pair into flash memory.

It will overwrite the last value that has the same key.