pub trait MapCPU<F, Key, Value> {
// Required methods
fn new(default: &Value) -> Self;
fn succinct_repr(&self) -> F;
fn insert(&mut self, key: &Key, value: &Value);
fn get(&self, key: &Key) -> Value;
}Expand description
The set of off-circuit instructions for mapping operations.
Required Methods§
Sourcefn succinct_repr(&self) -> F
fn succinct_repr(&self) -> F
A (cryptographically unequivocal) succinct representation of the map.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".