Expand description
Interface for Key-Value (KV) Stores
The KV store implementation in Tock has two levels:
- 
KV Level: This level provides a standard key-value interface with common get/set/add/update/delete operations.
 - 
KV Permissions Level: This level mirrors the
KVinterface, but each call requires storage permissions. This permits implementing access control permissions with key-value stores in Tock. 
The expected setup inside Tock will look like this:
+-----------------------+
|  Capsule using K-V    |
+-----------------------+
   hil::kv::KVPermissions (this file)
+-----------------------+
|  K-V in Tock          |
+-----------------------+
   hil::kv::KV (this file)
+-----------------------+
|  K-V library          |
+-----------------------+
   hil::flashTraitsยง
- KV
 - Key-Value interface.
 - KVClient
 - Callback trait for KV stores.
 - KVPermissions
 - Key-Value interface with permissions.