try_write_snd

Function try_write_snd 

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

Attempts to convert recs to SndRecord then append to outfile.

ยงErrors

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