Skip to main content

erase

Function erase 

Source
pub fn erase(key: &[u8]) -> Result<()>
Expand description

Erase the entry for key from NVS. key must be \0-terminated.

No-op when the key does not exist (the C API treats erase-of-missing as success).

ยงErrors

Returns an error if the underlying storage backend reports a failure.