Expand description
The Context
trait and related definitions.
Structs§
- BaseKey
- A wrapper over
Vec<u8>
with functions for using it as a key prefix. - View
Context - Implementation of the
Context
trait on top of a DB client implementingcrate::store::KeyValueStore
.
Traits§
- Context
- The context in which a view is operated. Typically, this includes the client to connect to the database and the address of the current entry.
Type Aliases§
- Memory
Context - An implementation of
crate::context::Context
that stores all values in memory.