pub fn peek(&mut self) -> Result<Option<Value>, VmError> {
        match &mut self.iter {
            IterRepr::Peekable(peekable) => peekable.peek(),
            _ => Err(VmError::panic(format!(
                "`{:?}` is not a peekable iterator",
                self.iter
            ))),
        }
    }
/// Peek the next element if supported.
Peek the next element if supported.
Peek the next element if supported .
pub fn peek(&mut self) -> Result<Option<Value>, VmError> {
        match &mut self.iter {
            IterRepr::Peekable(peekable) => peekable.peek(),
            _ => Err(VmError::panic(format!(
                "`{:?}` is not a peekable iterator",
                self.iter
            ))),
        }
    }
pub fn peek ( & mut self ) -> Result < Option < Value > , VmError > { match & mut self . iter { IterRepr :: Peekable ( peekable ) => peekable . peek ( ) , _ => Err ( VmError :: panic ( format ! ( " " self iter ) ) ) , } }
Peek the next element if supported.
Peek the next element if supported .
&mut self
&mut self