pub fn new_noop() -> Self {
        let reporter: Arc<NoopReporter> = Arc::new(NoopReporter);
        let reporter_dyn = reporter.clone() as Arc<DynReporter>;
        let artifact_fn = Box::new(move |entity: &EntityId, artifact_type: &ArtifactType| {
            let inner = reporter.new_artifact(entity, artifact_type)?;
            Ok(Box::new(inner) as Box<DynArtifact>)
        });
        Self { reporter: reporter_dyn, artifact_fn }
    }
/// Create a `RunReporter` that simply discards any artifacts or results it is given.
Create a `RunReporter` that simply discards any artifacts or results it is given.
Create a ` RunReporter ` that simply discards any artifacts or results it is given .
pub fn new_noop() -> Self {
        let reporter: Arc<NoopReporter> = Arc::new(NoopReporter);
        let reporter_dyn = reporter.clone() as Arc<DynReporter>;
        let artifact_fn = Box::new(move |entity: &EntityId, artifact_type: &ArtifactType| {
            let inner = reporter.new_artifact(entity, artifact_type)?;
            Ok(Box::new(inner) as Box<DynArtifact>)
        });
        Self { reporter: reporter_dyn, artifact_fn }
    }
pub fn new_noop ( ) -> Self { let reporter : Arc < NoopReporter > = Arc :: new ( NoopReporter ) ; let reporter_dyn = reporter . clone ( ) as Arc < DynReporter > ; let artifact_fn = Box :: new ( move | entity : & EntityId , artifact_type : & ArtifactType | { let inner = reporter . new_artifact ( entity , artifact_type ) ? ; Ok ( Box :: new ( inner ) as Box < DynArtifact > ) } ) ; Self { reporter : reporter_dyn , artifact_fn } }
Create a `RunReporter` that simply discards any artifacts or results it is given.
Create a ` RunReporter ` that simply discards any artifacts or results it is given .