Struct StreamFindIter
pub struct StreamFindIter<'a, A, R> { /* private fields */ }
An iterator that reports matches in a stream.
This iterator yields elements of type io::Result<Match>, where an error
is reported if there was a problem reading from the underlying stream.
The iterator terminates only when the underlying stream reaches EOF.
This iterator is constructed via the Automaton::try_stream_find_iter
method.
The type variable A refers to the implementation of the Automaton
trait used to execute the search.
The type variable R refers to the io::Read stream that is being read
from.
The lifetime 'a refers to the lifetime of the Automaton
implementation.
Trait Implementations
impl<'a, A: Automaton, R: Read> Iterator for StreamFindIter<'a, A, R>
type Item = Result<Match, Error>;fn next(&mut self) -> Option<Result<Match>>
impl<'a, A: Debug, R: Debug> Debug for StreamFindIter<'a, A, R>
fn fmt(&self, f: &mut Formatter<'_>) -> Result