Enum pcre2::ErrorKind[][src]

pub enum ErrorKind {
    Compile,
    JIT,
    Match,
    Info,
    Option,
    // some variants omitted
}

The kind of an error indicates the type of operation that was attempted that resulted in an error.

This enum may expand over time.

Variants

An error occurred during compilation of a regex.

An error occurred during JIT compilation of a regex.

An error occurred while matching.

An error occurred while querying a compiled regex for info.

An error occurred while setting an option.

Trait Implementations

impl Clone for ErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ErrorKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind