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

impl StructuralPartialEq for MatchErrorKind

Auto Trait Implementations

impl Freeze for MatchErrorKind

impl RefUnwindSafe for MatchErrorKind

impl Send for MatchErrorKind

impl Sync for MatchErrorKind

impl Unpin for MatchErrorKind

impl UnsafeUnpin for MatchErrorKind

impl UnwindSafe for MatchErrorKind

Blanket Implementations

impl<T> Any for MatchErrorKind where T: 'static + ?Sized,

impl<T> Borrow<T> for MatchErrorKind where T: ?Sized,

impl<T> BorrowMut<T> for MatchErrorKind where T: ?Sized,

impl<T> CloneToUninit for MatchErrorKind where T: Clone,

impl<T> From<T> for MatchErrorKind

impl<T> ToOwned for MatchErrorKind where T: Clone,

impl<T, U> Into<U> for MatchErrorKind where U: From<T>,

impl<T, U> TryFrom<U> for MatchErrorKind where U: Into<T>,

impl<T, U> TryInto<U> for MatchErrorKind where U: TryFrom<T>,