fix generics for ShadowExecutor
This commit is contained in:
parent
2328ac252b
commit
8fa654dd61
@ -15,7 +15,12 @@ pub struct CombinedExecutor<A, B> {
|
|||||||
|
|
||||||
impl<A, B> CombinedExecutor<A, B> {
|
impl<A, B> CombinedExecutor<A, B> {
|
||||||
/// Create a new `CombinedExecutor`, wrapping the given `executor`s.
|
/// Create a new `CombinedExecutor`, wrapping the given `executor`s.
|
||||||
pub fn new<EM, I, S, Z>(primary: A, secondary: B) -> Self {
|
pub fn new<EM, I, S, Z>(primary: A, secondary: B) -> Self
|
||||||
|
where
|
||||||
|
A: Executor<EM, I, S, Z>,
|
||||||
|
B: Executor<EM, I, S, Z>,
|
||||||
|
I: Input,
|
||||||
|
{
|
||||||
Self { primary, secondary }
|
Self { primary, secondary }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ where
|
|||||||
SOT: ObserversTuple,
|
SOT: ObserversTuple,
|
||||||
{
|
{
|
||||||
/// Create a new `ShadowExecutor`, wrapping the given `executor`.
|
/// Create a new `ShadowExecutor`, wrapping the given `executor`.
|
||||||
pub fn new<EM, I, S, Z>(executor: E, shadow_observers: SOT) -> Self {
|
pub fn new(executor: E, shadow_observers: SOT) -> Self {
|
||||||
Self {
|
Self {
|
||||||
executor,
|
executor,
|
||||||
shadow_observers,
|
shadow_observers,
|
||||||
|
@ -9,7 +9,7 @@ pub mod mutational;
|
|||||||
pub use mutational::{MutationalStage, StdMutationalStage};
|
pub use mutational::{MutationalStage, StdMutationalStage};
|
||||||
|
|
||||||
pub mod tracing;
|
pub mod tracing;
|
||||||
pub use tracing::TracingStage;
|
pub use tracing::{ShadowTracingStage, TracingStage};
|
||||||
|
|
||||||
//pub mod power;
|
//pub mod power;
|
||||||
//pub use power::PowerMutationalStage;
|
//pub use power::PowerMutationalStage;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user