/// Runs `body` on remaining key-value pair in the map until completion or parse
/// failure.
Runs `body` on remaining key-value pair in the map until completion or parse
failure.
Runs ` body ` on remaining key - value pair in the map until completion or parse failure .
pub fn with(
        &mut self,
        mut body: impl FnMut((Scalar<'i>, Item<'i, '_>)) -> Result<(), Error>,
    ) -> Result<(), Error> {
        while let Some(pair) = self.map.next()? {
            body(pair)?
        }
        Ok(())
    }
pub fn with ( & mut self , mut body : impl FnMut ( ( Scalar < ' i > , Item < ' i , ' _ > ) ) -> Result < ( ) , Error > , ) -> Result < ( ) , Error > { while let Some ( pair ) = self . map . next ( ) ? { body ( pair ) ? } Ok ( ( ) ) }
Runs `body` on remaining key-value pair in the map until completion or parse
failure.
Runs ` body ` on remaining key - value pair in the map until completion or parse failure .
&mut self
body
impl FnMut((Scalar<'i>, Item<'i, '_>)) -> Result<(), Error>