Trait StateR
pub trait StateR: Send + Sync {
// Required method
fn get(&self, key: Key) -> Option<Value>;
// Provided method
fn debug_iter<'a>(&'a self) -> Box<dyn Iterator<Item = (Key, Value)> + 'a> { ... }
}Expand description
Read-only low-level state used by Lyquor Virtual Machine (LVM).
Required Methods§
Provided Methods§
fn debug_iter<'a>(&'a self) -> Box<dyn Iterator<Item = (Key, Value)> + 'a>
fn debug_iter<'a>(&'a self) -> Box<dyn Iterator<Item = (Key, Value)> + 'a>
This method is for debugging. If the implementation does not provide such functionality, it defaults to an empty iterator.