Enum proptest::string::Error []

pub enum Error {
    RegexSyntax(Error),
    UnsupportedRegex(&'static str),
}

Errors which may occur when preparing a regular expression for use with string generation.

Variants

The string passed as the regex was not syntactically valid.

The regex was syntactically valid, but contains elements not supported by proptest.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error