Skip to main content

DecoyFactory

Type Alias DecoyFactory 

Source
pub type DecoyFactory<T, AE> = Arc<dyn Fn(Weak<dyn DecoyFlowSender>, Arc<Settings<AE>>, DerivedValue<T>, Arc<AtomicU32>) -> Box<dyn DecoyProvider> + Send + Sync>;
Expand description

A factory that constructs a Box<dyn DecoyProvider> for a given identity source and flow manager.

Aliased Typeยง

pub struct DecoyFactory<T, AE> { /* private fields */ }