export

Function export 

Source
pub fn export(persy_p: &Persy) -> EIRes<Box<impl Iterator<Item = Info>>>
Expand description

Export the data from a persy storage with a custom format

ยงExample

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