ariel_os::storageFunction get
pub async fn get<V>(key: &str) -> Result<Option<V>, Error<FlashError>>
Available on crate feature storage
only.
Expand description
Gets the last stored value from the flash that is associated with the given key.
Note: Always get()
the same value type that was insert()
!
If no value with the key is found, None
is returned.