Enum cucumber::event::Feature [−][src]
pub enum Feature<World> {
Started,
Rule(Arc<Rule>, Rule<World>),
Scenario(Arc<Scenario>, Scenario<World>),
Finished,
}
Expand description
Event specific to a particular Feature.
Variants
Started
Feature
execution being started.
Rule(Arc<Rule>, Rule<World>)
Rule
event.
Scenario(Arc<Scenario>, Scenario<World>)
Scenario
event.
Finished
Feature
execution being finished.
Trait Implementations
Auto Trait Implementations
impl<World> !RefUnwindSafe for Feature<World>
impl<World> !UnwindSafe for Feature<World>
Blanket Implementations
Mutably borrows from an owned value. Read more
Asserts this Writer
being Normalized
. Read more
pub fn fail_on_skipped(
Self
) -> FailOnSkipped<T, fn(&Feature, Option<&Rule>, &Scenario) -> bool>
pub fn fail_on_skipped(
Self
) -> FailOnSkipped<T, fn(&Feature, Option<&Rule>, &Scenario) -> bool>
pub fn fail_on_skipped_with<F>(Self, F) -> FailOnSkipped<T, F> where
F: Fn(&Feature, Option<&Rule>, &Scenario) -> bool,
pub fn fail_on_skipped_with<F>(Self, F) -> FailOnSkipped<T, F> where
F: Fn(&Feature, Option<&Rule>, &Scenario) -> bool,
Wraps this Writer
into a discard::Arbitrary
one, providing a
no-op ArbitraryWriter
implementation. Read more
Wraps this Writer
into a discard::Arbitrary
one, providing a
no-op FailureWriter
implementation returning only 0
. Read more