Skip to navigation

nemo-relay-plugin

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -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.

Stable native plugin ABI and Rust authoring helpers for NeMo Relay.

This crate intentionally does not depend on the nemo-relay runtime crate. Native plugins built with it communicate with a host through versioned C-compatible tables and host-owned string handles.

Modules

  • diagnostics: Native diagnostic authoring and authorized reads. Native diagnostic authoring and explicitly authorized canonical reads. Recording is synchronous, state-only, and independent of operational logs. Disabled/unsupported facades skip factories. Diagnostic errors must not be propagated as plugin execution failures unless the application chooses so.

Macros

  • nemo_relay_plugin: Exports a concrete plugin constructor as a native plugin entry symbol body.
  • relay_debug: Emit a formatted debug-level native-plugin record through the Relay host.
  • relay_error: Emit a formatted error-level native-plugin record through the Relay host.
  • relay_info: Emit a formatted native-plugin log record through the Relay host.
  • relay_trace: Emit a formatted trace-level native-plugin record through the Relay host.
  • relay_warn: Emit a formatted warn-level native-plugin record through the Relay host.

Structs

Enums

Constants

Traits

Functions

Type Aliases