Module key_store::traits[][src]

A Key Store Trait

This module defines the KeyStore trait as well as a KeyStoreValue trait. The key store defines a simple CRUD API with IDs of type KeyStore::KeyStoreId and stores values that implement the (de)serialization define by the KeyStoreValue trait.

Traits

KeyStore

The Key Store trait

KeyStoreValue

Any value that is stored in the key store must implement this trait. In most cases these are the raw bytes of the object.