Struct filecheck::Checker[][src]

pub struct Checker { /* fields omitted */ }

Verify a list of directives against a test input.

Use a CheckerBuilder to construct a Checker. Then use the test method to verify the list of directives against a test input.

Methods

impl Checker
[src]

An empty checker contains no directives, and will match any input string.

Verify directives against the input text.

This returns true if the text matches all the directives, false if it doesn't. An error is only returned if there is a problem with the directives.

Explain how directives are matched against the input text.

Trait Implementations

impl Display for Checker
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Checker

impl Sync for Checker