pub fn export_from_snapshot(
    persy_p: &Snapshot
) -> EIRes<Box<impl Iterator<Item = Info>>>
Expand description

Export the data from a snapshot of persy storage with a custom format

Example

use persy::{Persy, Config};
use persy_expimp::export_from_snapshot;
use std::vec::Vec;
let persy = Persy::open("file.persy", Config::new())?;
let snapshot = persy.snapshot()?;
for info in export_from_snapshot(&snapshot)? {
    // Custom logic
}