pub trait Ledger {
    fn set(&self, l: LedgerInfo);
    fn get(&self) -> LedgerInfo;
    fn with_mut<F>(&self, f: F)
    where
        F: FnMut(&mut LedgerInfo)
; }
Available on crate feature testutils only.
Expand description

Test utilities for Ledger.

Required Methods§

Set ledger info.

Get ledger info.

Modify the ledger info.

Implementors§