Function persy_expimp::export_from_snapshot
source · 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
}