Type Alias Conditional Middleware Guardrail Fn
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.
pub type ConditionalMiddlewareGuardrailFn = Arc<dyn Fn(&BTreeSet<RuntimeRegistrationKind>, &str) -> Option<String> + Send + Sync>;
Decide whether matching global runtime registrations remain eligible.
Relay invokes this callback with the gate’s configured registration kinds and the target registration’s effective name. Returning None enables the target. Returning a reason string disables it for the current snapshot.