pub struct Arbitrary<Wr: ?Sized>(_);
Expand description
Wrapper providing a no-op ArbitraryWriter
implementation.
Intended to be used for feeding a non-ArbitraryWriter
Writer
into a
writer::Tee
, as the later accepts only ArbitraryWriter
s.
Implementations
Wraps the given Writer
into a discard::Arbitrary
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<Wr: ?Sized> RefUnwindSafe for Arbitrary<Wr> where
Wr: RefUnwindSafe,
impl<Wr: ?Sized> UnwindSafe for Arbitrary<Wr> where
Wr: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Asserts this Writer
being Normalized
. Read more
fn fail_on_skipped_with<F>(self, f: F) -> FailOnSkipped<Self, F> where
F: Fn(&Feature, Option<&Rule>, &Scenario) -> bool,
fn fail_on_skipped_with<F>(self, f: F) -> FailOnSkipped<Self, 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