Skip to main content

Harness

Trait Harness 

Source
pub trait Harness {
    type Body;

    const NAME: &'static str;
}
Expand description

A transcript representation. Implemented by Common and by each harness marker. The marker is a zero-size type; the representation is its Body.

Required Associated Constants§

Source

const NAME: &'static str

Stable lowercase identifier, e.g. "common", "claude_code", "codex".

Required Associated Types§

Source

type Body

The body representation for this harness. Common::Body = Vec<Message>; a harness’s Body is its faithful native record set.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Harness for Amp

Source§

const NAME: &'static str = "amp"

Source§

type Body = Thread

Source§

impl Harness for Antigravity

Source§

const NAME: &'static str = "antigravity"

Source§

type Body = AntigravityDb

Source§

impl Harness for Campfire

Source§

const NAME: &'static str = "campfire"

Source§

type Body = Vec<Record>

Source§

impl Harness for ClaudeCode

Source§

const NAME: &'static str = "claude_code"

Source§

type Body = Vec<Record>

Source§

impl Harness for Codex

Source§

const NAME: &'static str = "codex"

Source§

type Body = Vec<Line>

Source§

impl Harness for Common

Source§

const NAME: &'static str = "common"

Source§

type Body = Vec<Message>

Source§

impl Harness for Cursor

Source§

const NAME: &'static str = "cursor"

Source§

type Body = CursorDb

Source§

impl Harness for CursorDesktop

Source§

const NAME: &'static str = "cursor_desktop"

Source§

type Body = DesktopSession

Source§

impl Harness for Grok

Source§

const NAME: &'static str = "grok"

Source§

type Body = GrokSession

Source§

impl Harness for Hermes

Source§

const NAME: &'static str = "hermes"

Source§

type Body = Value

Source§

impl Harness for OpenCode

Source§

const NAME: &'static str = "opencode"

Source§

type Body = Export

Source§

impl Harness for Pi

Source§

const NAME: &'static str = "pi"

Source§

type Body = Vec<Record>

Source§

impl Harness for Simple

Source§

const NAME: &'static str = "simple"

Source§

type Body = Doc