pub trait Ledger:
Send
+ Sync
+ Debug {
// Required methods
fn get_latest(&self, path: &str) -> Option<LedgerEntry>;
fn record(&self, entry: LedgerEntry);
}Expand description
Mirror of the TS Ledger surface: keyed by path, most-recent wins.