Function mods_as_bin_mods

Source
pub fn mods_as_bin_mods<'a, T>(mods: T) -> Vec<Mod<Vec<u8>>>
where T: IntoIterator<Item = &'a Mod<String>>,
Expand description

of the same modify operation because otherwise we might successfully apply the textual modifications and then fail on the binary ones, leaving behind a half-modified object