pub trait SnapshotSource {
// Required method
fn get(
&self,
key: &Rc<LedgerKey>,
) -> Result<Option<EntryWithLiveUntil>, HostError>;
}
Expand description
A helper type used by FootprintMode::Recording to provide access to a stable read-snapshot of a ledger. The snapshot is expected to only return live ledger entries.