pub trait ArbitraryWriter<'val, World, Value: 'val>: Writer<World> {
fn write<'life0, 'async_trait>(
&'life0 mut self,
val: Value
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
where
'val: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Writer
that also can output an arbitrary Value
in addition to
regular Cucumber
events.
Writes val
to the Writer
’s output.
sourceimpl<'val, W, L, R, Val> Arbitrary<'val, W, Val> for Tee<L, R> where
W: World,
L: Arbitrary<'val, W, Val>,
R: Arbitrary<'val, W, Val>,
Val: Clone + 'val,
sourceimpl<'val, W, Val, Wr> Arbitrary<'val, W, Val> for Failure<Wr> where
W: World,
Val: 'val,
Wr: Arbitrary<'val, W, Val> + ?Sized,
sourceimpl<'val, W, Wr, Val> Arbitrary<'val, W, Val> for AssertNormalized<Wr> where
W: World,
Val: 'val,
Wr: Arbitrary<'val, W, Val> + ?Sized,
sourceimpl<'val, W, Wr, Val> Arbitrary<'val, W, Val> for Normalize<W, Wr> where
Wr: Arbitrary<'val, W, Val>,
Val: 'val,
sourceimpl<'val, W, Wr, Val> Arbitrary<'val, W, Val> for Summarize<Wr> where
W: World,
Self: Writer<W>,
Wr: Arbitrary<'val, W, Val>,
Val: 'val,
sourceimpl<'val, W, Wr, Val, F> Arbitrary<'val, W, Val> for FailOnSkipped<Wr, F> where
W: World,
Self: Writer<W>,
Wr: Arbitrary<'val, W, Val>,
Val: 'val,