pub trait OldState:
Send
+ Sync
+ Debug {
// Required methods
fn range(&self) -> (u32, u32);
fn version(
&self,
key: &[u8; 32],
at: u32,
) -> Result<Option<(u32, Vec<u8>)>, String>;
}Expand description
State before the snapshot, from another store: version with the same
contract as StateStore::version, for ledgers in range.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".