Structs§
- AhoCorasick
- An automaton for searching multiple strings in linear time.
- AhoCorasick
Builder - A builder for configuring an Aho-Corasick automaton.
- Find
Iter - An iterator of non-overlapping matches in a particular haystack.
- Find
Overlapping Iter - An iterator of overlapping matches in a particular haystack.
- Stream
Find Iter - An iterator that reports Aho-Corasick matches in a stream.
Enums§
- AhoCorasick
Kind - The type of Aho-Corasick implementation to use in an
AhoCorasicksearcher.
Traits§
- AcAutomaton 🔒
- A trait that effectively gives us practical dynamic dispatch over anything
that impls
Automaton, but without needing to add a bunch of bounds to the coreAutomatontrait. Basically, we provide all of the marker traits that our automatons have, in addition toDebugimpls and requiring that there is no borrowed data. Without these, the mainAhoCorasicktype would not be able to meaningfully implDebugor the marker traits without also requiring that all impls ofAutomatondo so, which would be not great.
Functions§
- enforce_
anchored_ 🔒consistency - Returns an error if the start state configuration does not support the desired search configuration. See the internal ‘AhoCorasick::start_kind’ field docs for more details.