try_write_dmap

Function try_write_dmap 

Source
pub fn try_write_dmap<P: AsRef<Path>>(
    recs: Vec<IndexMap<String, DmapField>>,
    outfile: P,
) -> Result<(), DmapError>
Expand description

Attempts to convert recs to DmapRecord then append to outfile.

ยงErrors

if any of the IndexMaps are unable to be interpreted as a DmapRecord, or there is an issue writing to file.