Skip to main content

HarnessEnvelope

Trait HarnessEnvelope 

Source
pub trait HarnessEnvelope {
    // Required method
    fn shape(&self, hits: &[ScoredMemory]) -> String;
}
Expand description

Trait implemented by each per-harness adapter. The contract is minimal: take a slice of typed ScoredMemory hits and return a rendered string envelope shaped for the harness.

Required Methods§

Source

fn shape(&self, hits: &[ScoredMemory]) -> String

Implementors§