Skip to navigation

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.

Top-level FFI API functions exported as extern "C".

Each function clears the thread-local error before executing and returns an NemoRelayStatus. On failure, call nemo_relay_last_error to retrieve the error message.

Re-exports

  • pub use crate::types::nemo_relay_otel_log_subscriber_free;
  • pub use crate::types::nemo_relay_otel_metric_subscriber_free;
  • pub use crate::types::nemo_relay_otel_subscriber_free;

Structs

  • FfiCancellation: An owned, thread-safe cancellation signal. Calls clone it when they start. Cancelling it does not free it. Release with nemo_relay_cancellation_free.
  • FfiDiagnosticsReader: Opaque inspection authority. Caller must not copy, free, or forge the allocation.
  • FfiLlmStreamContinuation: An owned streaming continuation, retained before its callback returns.
  • FfiLlmStreamSource: An owned source, transferred to Relay when returned by a streaming callback.
  • FfiStream: Opaque stream handle for consuming LLM streaming responses chunk by chunk. Use nemo_relay_stream_next to poll and nemo_relay_stream_free to release.

Constants

Functions

Type Aliases