pub trait ChainStorage {
// Required methods
fn word(&self, address: &str, slot: &Word) -> Option<Word>;
fn label(&self) -> &str;
}Expand description
A chain a frontend can read storage from, for slots the trace never recorded.
The debugger never opens a connection; the frontend that has a node implements this
and answers, and says in ChainStorage::label where the answer came from, so the
value can be shown as what it is rather than as part of the recording.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".