pub fn with(
        self,
        mut body: impl FnMut(Item<'i, '_>) -> Result<(), Error>,
    ) -> Result<(), Error> {
        for _ in 0..self.len {
            body(Item::parse(&mut *self.buf)?)?
        }
        Ok(())
    }
/// Runs `body` on each item in the array until completion or parse failure.
Runs `body` on each item in the array until completion or parse failure.
Runs ` body ` on each item in the array until completion or parse failure .
pub fn with(
        self,
        mut body: impl FnMut(Item<'i, '_>) -> Result<(), Error>,
    ) -> Result<(), Error> {
        for _ in 0..self.len {
            body(Item::parse(&mut *self.buf)?)?
        }
        Ok(())
    }
pub fn with ( self , mut body : impl FnMut ( Item < ' i , ' _ > ) -> Result < ( ) , Error > , ) -> Result < ( ) , Error > { for _ in 0 .. self . len { body ( Item :: parse ( & mut * self . buf ) ? ) ? } Ok ( ( ) ) }
Runs `body` on each item in the array until completion or parse failure.
Runs ` body ` on each item in the array until completion or parse failure .
self
body
impl FnMut(Item<'i, '_>) -> Result<(), Error>
self
body
impl FnMut(Item<'i, '_>) -> Result<(), Error>