Trait puffin::put_registry::Factory
source · pub trait Factory<PB: ProtocolBehavior> {
fn create(
&self,
context: &TraceContext<PB>,
agent_descriptor: &AgentDescriptor
) -> Result<Box<dyn Put<PB>>, Error>;
fn kind(&self) -> PutKind;
fn name(&self) -> PutName;
fn versions(&self) -> Vec<(String, String)> ⓘ;
fn determinism_set_reseed(&self);
fn determinism_reseed(&self);
fn clone_factory(&self) -> Box<dyn Factory<PB>>;
}
Expand description
Factory for instantiating programs-under-test.