Skip to navigation

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.

Append-only native diagnostic ABI. All input spans are borrowed for one call. Nonempty spans and output pointers must be valid for their stated size; arrays must be aligned. No callback retains plugin memory. Integer tags are validated.

Structs

  • Bytes: Borrowed bytes. A null pointer is permitted only for an empty span.
  • Capabilities: Non-sensitive recording capabilities; no source-wide diagnostic content.
  • Code: One declaration. Kind 0 selects a built-in; kind 1 declares an extension.
  • NativeDiagnosticsApiV1: Frozen diagnostics callback table. Status 0 means success; other values are defined by DiagnosticError::from_status. Read kinds: 0 discovery, 1 snapshot, 2 memory. Read output is caller-owned; written is zero on any failure.
  • NativeHostApiV8WithDiagnostics: Size-discovered tail of the unchanged ABI-8 execution table.
  • Observation: Borrowed observation. Empty optional strings mean absent values.
  • Receipt: Allocation-free receipt written only after acceptance.
  • Registration: Borrowed registration, whose complete vocabulary is admitted together.

Constants

  • CONTRACT_VERSION: Independent diagnostic transport version; execution ABI remains 8.
  • MAX_CALLS: Maximum concurrent native data calls per host process.
  • MAX_CLASSES: Maximum classes per extension.
  • MAX_CODES: Maximum declared codes per component.
  • MAX_COMPONENTS: Maximum simultaneously live component registrations per activation.
  • MAX_EXTENSIONS: Maximum cumulative extension declarations per activation.
  • MAX_REQUEST_BYTES: Maximum total text bytes in a native request.
  • MAX_SESSIONS: Maximum concurrently admitted authoring sessions per host process.