pub trait FeedbackFactory<F, S, T>
where F: Feedback<S>, S: State,
{ // Required method fn create_feedback(&self, ctx: &T) -> F; }
Expand description

Factory for feedbacks which should be sensitive to an existing context, e.g. observer(s) from a specific execution

Required Methods§

source

fn create_feedback(&self, ctx: &T) -> F

Create the feedback from the provided context

Implementors§

source§

impl<CS, E, EM, F1, F2, FF, M, OT, Z> FeedbackFactory<F2, <Z as UsesState>::State, OT> for StdTMinMutationalStage<CS, E, EM, F1, F2, FF, M, OT, Z>
where F2: Feedback<Z::State>, FF: FeedbackFactory<F2, Z::State, OT>, Z: UsesState,

source§

impl<F, S, T> FeedbackFactory<F, S, T> for DefaultFeedbackFactory<F>
where F: Feedback<S> + Default, S: State,

source§

impl<FE, FU, S, T> FeedbackFactory<FE, S, T> for FU
where FU: Fn(&T) -> FE, FE: Feedback<S>, S: State,

source§

impl<M, OT, S> FeedbackFactory<MapEqualityFeedback<M, S>, S, OT> for MapEqualityFactory<M, S>
where M: MapObserver, OT: ObserversTuple<S>, S: State + Debug,