Skip to main content

Crate bmux_recording_runtime

Crate bmux_recording_runtime 

Source
Expand description

Neutral primitive crate for the recording-plugin domain.

Hosts the RecordingSink trait, a handle newtype for registry lookup, RecordMeta (per-event metadata), and a DefaultNoOp fallback impl. RecordingRuntime concrete + file I/O live in the plugin impl crate.

Structs§

NoopRecordingSink
No-op default impl. Registered by server at startup; the recording plugin overwrites during activate.
RecordMeta
Per-event metadata attached to each record written through the sink. Lives here (not in bmux_ipc) because it is shared between server’s write path and the recording plugin’s runtime; neither side needs to wire-serialize it.
RecordingSinkHandle
Registry newtype wrapping an Arc<dyn RecordingSink>. Server reads this on every pane-output event and calls .record().
RollingRecordingSettings
Default rolling-recording configuration (window seconds + enabled event kinds).

Traits§

RecordingSink
Fast-path recording write contract, implemented by the recording plugin and stored in the plugin state registry so server can look it up and write to it without depending on the plugin impl crate.