pub fn import<I>(persy: &Persy, importer: I) -> EIRes<()>Expand description
Import the data to a persy storage from a custom format
ยงExample
use persy::{Persy, Config};
use persy_expimp::{import,Info};
Persy::create("imported.persy")?;
let persy = Persy::open("imported.persy", Config::new())?;
// Source informations from a custom source
let source = Vec::<Info>::new();
import(&persy,source.into_iter())?;