Skip to navigation

Struct Atif Exporter

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct AtifExporter { /* private fields */ }

Collect lifecycle events using the SDK’s scope and normalization services.

Implementations

impl AtifExporter

impl AtifExporter

new

pub fn new(session_id: String, agent_info: AtifAgentInfo) -> Self

Create a collector bound to the SDK runtime and built-in services.

new_for_trajectory

pub fn new_for_trajectory(
    session_id: String,
    trajectory_id: String,
    agent_info: AtifAgentInfo,
) -> Self

Create a bound collector with an explicit trajectory identifier.

subscriber

pub fn subscriber(&self) -> EventSubscriberFn

Return a callback for global or scope-local registration.

export

pub fn export(&self) -> Result<AtifTrajectory>

Wait for delivery and export the collected trajectory.

try_export

pub fn try_export(&self) -> Result<AtifTrajectory>

Wait for delivery and export the collected trajectory.

clear

pub fn clear(&self)

Clear collected events while keeping session metadata.

Trait Implementations

impl Clone for AtifExporter

impl Clone for AtifExporter

clone

fn clone(&self) -> AtifExporter

clone_from

fn clone_from(&mut self, source: &Self)