Struct cucumber::writer::FailOnSkipped [−][src]
pub struct FailOnSkipped<W, F = SkipFn> {
pub writer: W,
// some fields omitted
}
Fields
writer: W
Original Writer
to pass transformed event into.
Implementations
Wraps the given Writer
in a new FailOnSkipped
one.
Trait Implementations
Returns number of parsing errors.
Indicates whether there were failures/errors during execution.
CLI options of this Writer
. In case no options should be introduced,
just use cli::Empty
. Read more
Auto Trait Implementations
impl<W, F> RefUnwindSafe for FailOnSkipped<W, F> where
F: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, F> Send for FailOnSkipped<W, F> where
F: Send,
W: Send,
impl<W, F> Sync for FailOnSkipped<W, F> where
F: Sync,
W: Sync,
impl<W, F> Unpin for FailOnSkipped<W, F> where
F: Unpin,
W: Unpin,
impl<W, F> UnwindSafe for FailOnSkipped<W, F> where
F: UnwindSafe,
W: UnwindSafe,
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