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 Rule
s based on a checklist
of Rule
descriptions.
Variants
RuleChecklistReadError(String)
Covers failures in reading a checklist file of Rule
descriptions that
could be used to specified the set of rules to evaluate.
RequestedRuleNotFound
An error while filtering the set of Rule
s 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
rule_description: String | The problematic description for which a matching |
Trait Implementations
impl Debug for FilterError
[src]
impl Debug for FilterError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for FilterError
[src]
impl Clone for FilterError
fn clone(&self) -> FilterError
[src]
fn clone(&self) -> FilterError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for FilterError
[src]
impl Eq for FilterError
impl Fail for FilterError
[src]
impl Fail for FilterError
fn cause(&self) -> Option<&Fail>
[src]
fn cause(&self) -> Option<&Fail>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
[src]
fn compat(self) -> Compat<Self>
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
ⓘImportant traits for Causes<'f>fn causes(&self) -> Causes
[src]
fn causes(&self) -> Causes
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
fn root_cause(&self) -> &(Fail + 'static)
[src]
fn root_cause(&self) -> &(Fail + 'static)
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]
impl Display for FilterError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for FilterError
[src]
impl PartialEq for FilterError
fn eq(&self, other: &FilterError) -> bool
[src]
fn eq(&self, other: &FilterError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FilterError) -> bool
[src]
fn ne(&self, other: &FilterError) -> bool
This method tests for !=
.
impl Hash for FilterError
[src]
impl Hash for FilterError
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl ExitCode for FilterError
[src]
impl ExitCode for FilterError
Auto Trait Implementations
impl Send for FilterError
impl Send for FilterError
impl Sync for FilterError
impl Sync for FilterError