Expand description
The Context trait and related definitions.
Structs§
- BaseKey
- A wrapper over
Vec<u8>with functions for using it as a key prefix. - Inactive
Context - A context which can’t be used to read or write data, only used for caching views.
- View
Context - Implementation of the
Contexttrait 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::Contextthat stores all values in memory.