Struct fallible_iterator::Peekable
[−]
[src]
pub struct Peekable<I: FallibleIterator> { // some fields omitted }
An iterator which can look at the next element without consuming it.
Methods
impl<I> Peekable<I> where I: FallibleIterator
fn peek(&mut self) -> Result<Option<&I::Item>, I::Error>
[−]
Returns a reference to the next value without advancing the iterator.