Skip to navigation

Struct Detached Host

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 DetachedHost;

Trait Implementations

impl LlmNormalizer for DetachedHost

impl LlmNormalizer for DetachedHost

normalize_request

fn normalize_request(
    &self,
    _: &LlmRequest,
    _: Option<&str>,
) -> Option<AnnotatedLlmRequest>

normalize_response

fn normalize_response(&self, _: &Json) -> Option<AnnotatedLlmResponse>

impl ObservabilityHost for DetachedHost

impl ObservabilityHost for DetachedHost

pricing_snapshot

fn pricing_snapshot(&self) -> Arc<dyn CostEstimator>

register_subscriber

fn register_subscriber(&self, _: &str, _: EventSubscriberFn) -> Result<()>

deregister_subscriber

fn deregister_subscriber(&self, _: &str) -> Result<bool>

flush_subscribers

fn flush_subscribers(&self) -> Result<()>

w3c_span_context

fn w3c_span_context(
    &self,
    _: Option<&str>,
    _: Option<&str>,
) -> Option<SpanContext>

record_runtime_diagnostic

fn record_runtime_diagnostic(
    &self,
    _: &str,
    _: Option<String>,
    _: String,
    _: u64,
)

set_full_payloads_enabled

fn set_full_payloads_enabled(&self, _: bool) -> Result<()>

try_scope_register_subscriber

fn try_scope_register_subscriber(
    &self,
    _: &Uuid,
    _: &str,
    _: EventSubscriberFn,
) -> Result<()>

try_scope_deregister_subscriber

fn try_scope_deregister_subscriber(&self, _: &Uuid, _: &str) -> Result<bool>

scope_deregister_subscriber

fn scope_deregister_subscriber(&self, _: &Uuid, _: &str) -> Result<bool>

is_trajectory_parent

fn is_trajectory_parent(&self, _: Uuid) -> bool

record_plugin_diagnostic

fn record_plugin_diagnostic(&self, _: RuntimeDiagnostic)