Enum cucumber::event::Step [−][src]
pub enum Step<World> {
Started,
Skipped,
Passed(CaptureLocations),
Failed(Option<CaptureLocations>, Option<Arc<World>>, StepError),
}
Expand description
Event specific to a particular Step.
Variants
Started
Step
execution being started.
Skipped
Step
being skipped.
That means there is no Regex
matching Step
in a
step::Collection
.
Passed(CaptureLocations)
Tuple Fields
Step
passed.
Failed(Option<CaptureLocations>, Option<Arc<World>>, StepError)
Step
failed.
Trait Implementations
Auto Trait Implementations
impl<World> !RefUnwindSafe for Step<World>
impl<World> !UnwindSafe for Step<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