pub type MemoryContext<E> = ViewContext<E, MemoryStore>;Expand description
An implementation of crate::context::Context that stores all values in memory.
Aliased Type§
struct MemoryContext<E> { /* private fields */ }Implementations§
Source§impl<E> MemoryContext<E>
impl<E> MemoryContext<E>
Sourcepub fn new_for_testing(extra: E) -> Self
pub fn new_for_testing(extra: E) -> Self
Creates a Context instance in memory for testing.