Expand description
Interact with the key_value module
Your process must have the Capability
to message and receive messages from
kv:distro:sys
to use this module.
Structs§
- Kv
- Kv helper struct for a db.
Opening or creating a kv will give you a
Result<Kv>
. You can call it’s impl functions to interact with it. - KvCapability
Params - The JSON parameters contained in all capabilities issued by
kv:distro:sys
. - KvRequest
- Actions are sent to a specific key value database.
db
is the name,package_id
is thePackageId
that created the database. Capabilities are checked: you can access another process’s database if it has given you the read and/or write capability to do so.
Enums§
- KvAction
- IPC Action format representing operations that can be performed on the
key-value runtime module. These actions are included in a
KvRequest
sent to thekv:distro:sys
runtime module. - KvCapability
Kind - KvError
- KvResponse