pub trait StateRead: Send + Sync {
type Error: Debug + Display;
// Required method
fn key_range(
&self,
contract_addr: ContentAddress,
key: Key,
num_values: usize,
) -> Result<Vec<Vec<Word>>, Self::Error>;
}Expand description
Read-only access to state required by the VM.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".