pub trait SnapshotSource {
    // Required methods
    fn get(&self, key: &Rc<LedgerKey>) -> Result<EntryWithLiveUntil, HostError>;
    fn has(&self, key: &Rc<LedgerKey>) -> Result<bool, HostError>;
}
Expand description

A helper type used by FootprintMode::Recording to provide access to a stable read-snapshot of a ledger.

Required Methods§

Implementors§