Trait orchestrator::memory::Memory

source ·
pub trait Memory<S: ExecutorGlobalState>: StateMemory<S> + StatelessMemory {
    // Required method
    fn as_stateless(&self) -> &dyn StatelessMemory;
}
Expand description

auto trait that rapresent the union of stateless and state Memory

Required Methods§

source

fn as_stateless(&self) -> &dyn StatelessMemory

conversion into a StatelessMemory

Implementors§