Enum cargo_culture_kit::checklist::FilterError[][src]

pub enum FilterError {
    RuleChecklistReadError(String),
    RequestedRuleNotFound {
        rule_description: String,
    },
    // some variants omitted
}

Errors specific to filtering down a set of Rules based on a checklist of Rule descriptions.

Variants

Covers failures in reading a checklist file of Rule descriptions that could be used to specified the set of rules to evaluate.

An error while filtering the set of Rules to run. The most common cause of this is when a checklist of Rule descriptions includes a description of a Rule that does not match any of the available Rule instances.

Fields of RequestedRuleNotFound

The problematic description for which a matching Rule was not found.

Trait Implementations

impl Debug for FilterError
[src]

Formats the value using the given formatter. Read more

impl Clone for FilterError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for FilterError
[src]

impl Fail for FilterError
[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

Provides context for this failure. Read more

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

Important traits for Causes<'f>

Returns a iterator over the causes of this Fail with itself as the first item and the root_cause as the final item. Read more

Returns the "root cause" of this Fail - the last value in the cause chain which does not return an underlying cause. Read more

impl Display for FilterError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for FilterError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for FilterError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl ExitCode for FilterError
[src]

The

Auto Trait Implementations

impl Send for FilterError

impl Sync for FilterError