Module scope
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.
Scope lifecycle and event emission.
Structs
- EmitMarkEventParams: Builder parameters for
event. - EmitMetricEventParams: Builder parameters for
metric. - PopScopeParams: Builder parameters for
pop_scope. - PushScopeParams: Builder parameters for
push_scope. - ScopeAttributes: Bitflags that modify scope behavior and observability.
- ScopeHandle: Runtime-owned handle identifying an active or completed scope.
- ScopeStackEntry: Identity of one entry in the visible Relay scope stack.
- ScopeStackSnapshot: Owned root-to-top values from one coherent read of a visible scope stack.
Enums
- HandleAttributes: Attribute bitflags attached to a concrete handle kind.
- ScopeType: Semantic category attached to a scope lifecycle span.
Constants
- COMPACTION_EVENT_NAME: Canonical mark-event name used to indicate agent context compaction.
Functions
- event: Emit a standalone mark event under the current or provided scope.
- get_handle: Return the current scope at the top of the active stack.
- metric: Emit a Relay metric mark under the current or provided scope.
- pop_scope: Pop the current scope from the active scope stack.
- push_scope: Push a new scope onto the active scope stack.