Skip to main content

load

Function load 

Source
pub fn load(path: &Path) -> Result<CrateSeqLedger, Error>
Expand description

Reads a ledger from path, deserializing TOML into CrateSeqLedger.

ยงErrors

Returns Error::Io if the file cannot be read, or Error::Deserialize if the content is not valid ledger TOML.