Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Collects lifecycle events and exports them as ATIF trajectories.
Register this exporter as an event subscriber via AtifExporter::subscriber, then call AtifExporter::export to produce an AtifTrajectory.
impl AtifExporterimpl AtifExporter
newpub fn new(session_id: String, agent_info: AtifAgentInfo) -> Self
Create a new exporter with the given session metadata.
session_id: Stable identifier for the trajectory being collected.agent_info: Metadata describing the emitting agent.A new AtifExporter with an empty in-memory event buffer.
subscriberpub fn subscriber(&self) -> EventSubscriberFn
Return an event subscriber function that records NeMo Relay events.
The returned callback can be registered with register_subscriber.
An EventSubscriberFn that appends each observed event to this exporter’s internal buffer.
exportpub fn export(&self) -> Result<AtifTrajectory>
Export the collected event history as an AtifTrajectory.
An AtifTrajectory synthesized from the events observed so far.
Returns an error if queued subscriber delivery cannot be flushed before the trajectory is cloned.
Exporting does not clear the buffered events. Call AtifExporter::clear when you need to reset the exporter between trajectories.
try_exportpub fn try_export(&self) -> Result<AtifTrajectory>
Try to export the collected event history as an AtifTrajectory.
This is equivalent to AtifExporter::export and is retained for callers that prefer an explicitly fallible method name.
clearpub fn clear(&self)
Clear all collected events from the internal buffer.
().