Struct xfind::StreamFinder [−][src]
pub struct StreamFinder<'n> { /* fields omitted */ }
Expand description
A substring searcher for stream searches.
Implementations
Creates a new StreamFinder
for the given needle.
Returns the index of the first occurrence of the given needle in the stream.
Returns the index of the last occurrence of the given needle in the stream.
Panics
Panics if the length of the stream is greater than usize::MAX
.
Returns an iterator over all occurrences of the given needle in the stream.
pub fn rfind_iter<'s, R: Read + Seek>(
&'n self,
rdr: &'s mut R
) -> Result<FindRevIter<'n, 's, R>>
[src]
pub fn rfind_iter<'s, R: Read + Seek>(
&'n self,
rdr: &'s mut R
) -> Result<FindRevIter<'n, 's, R>>
[src]Trait Implementations
Auto Trait Implementations
impl<'n> RefUnwindSafe for StreamFinder<'n>
impl<'n> Send for StreamFinder<'n>
impl<'n> Sync for StreamFinder<'n>
impl<'n> Unpin for StreamFinder<'n>
impl<'n> UnwindSafe for StreamFinder<'n>