Enum MatchErrorKind
#[non_exhaustive]
pub enum MatchErrorKind
The underlying kind of a MatchError.
This is a non-exhaustive enum. That means new variants may be added in a semver-compatible release.
Variants
-
InvalidInputAnchored An error indicating that an anchored search was requested, but from a searcher that was built without anchored support.
-
InvalidInputUnanchored An error indicating that an unanchored search was requested, but from a searcher that was built without unanchored support.
-
UnsupportedStream { got: MatchKind } An error indicating that a stream search was attempted on an Aho-Corasick automaton with an unsupported
MatchKind.-
UnsupportedOverlapping { got: MatchKind } An error indicating that an overlapping search was attempted on an Aho-Corasick automaton with an unsupported
MatchKind.-
UnsupportedEmpty An error indicating that the operation requested doesn't support automatons that contain an empty pattern string.
Trait Implementations
impl Clone for MatchErrorKind
fn clone(&self) -> Self
impl Debug for MatchErrorKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for MatchErrorKind
impl PartialEq for MatchErrorKind
fn eq(&self, other: &Self) -> bool