Enum aho_corasick::automaton::StreamChunk
source · enum StreamChunk<'r> {
NonMatch {
bytes: &'r [u8],
},
Match {
bytes: &'r [u8],
mat: Match,
},
}
Expand description
A single chunk yielded by the stream chunk iterator.
The 'r
lifetime refers to the lifetime of the stream chunk iterator.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'r> Freeze for StreamChunk<'r>
impl<'r> RefUnwindSafe for StreamChunk<'r>
impl<'r> Send for StreamChunk<'r>
impl<'r> Sync for StreamChunk<'r>
impl<'r> Unpin for StreamChunk<'r>
impl<'r> UnwindSafe for StreamChunk<'r>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more