Struct Event Category
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.
Semantic category carried by ATOF category.
This is intentionally string-backed so consumers can preserve category values from newer producers without failing deserialization.
Implementations
impl EventCategory
Referenced types: EventCategory
agent
Referenced types: EventCategory
Top-level agent or workflow scope.
Returns
An EventCategory with the wire value agent.
function
Referenced types: EventCategory
Generic function or application step.
Returns
An EventCategory with the wire value function.
llm
Referenced types: EventCategory
LLM call.
Returns
An EventCategory with the wire value llm.
tool
Referenced types: EventCategory
Tool invocation.
Returns
An EventCategory with the wire value tool.
retriever
Referenced types: EventCategory
Retrieval step.
Returns
An EventCategory with the wire value retriever.
embedder
Referenced types: EventCategory
Embedding-generation step.
Returns
An EventCategory with the wire value embedder.
reranker
Referenced types: EventCategory
Result reranking step.
Returns
An EventCategory with the wire value reranker.
guardrail
Referenced types: EventCategory
Guardrail or validation step.
Returns
An EventCategory with the wire value guardrail.
evaluator
Referenced types: EventCategory
Evaluation or scoring step.
Returns
An EventCategory with the wire value evaluator.
custom
Referenced types: EventCategory
Vendor-defined custom category.
Returns
An EventCategory with the wire value custom.
unknown
Referenced types: EventCategory
Unknown or unclassified work.
Returns
An EventCategory with the wire value unknown.
new
Referenced types: Into, String, EventCategory
Create a category from an arbitrary producer-provided string.
Parameters
value: Wire category value to preserve.
Returns
An EventCategory containing value.
as_str
Referenced types: str
Return the string form serialized on the wire.
Returns
The category value as a string slice.
to_scope_type
Referenced types: ScopeType
Convert this category to the closest legacy scope type for internal adapters that still need span-kind classification.
Returns
The closest matching ScopeType, or ScopeType::Unknown when the category has no legacy equivalent.
Trait Implementations
impl Clone for EventCategory
Referenced types: Clone, EventCategory
clone
Referenced types: clone, EventCategory
clone_from
Referenced types: clone_from
impl Debug for EventCategory
Referenced types: Debug, EventCategory
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl<'de> Deserialize<'de> for EventCategory
Referenced types: Deserialize, EventCategory
deserialize
Referenced types: deserialize, Result, EventCategory, Deserializer, Error
impl From<&EventCategory> for ScopeType
Referenced types: From, EventCategory, ScopeType
from
Referenced types: from, EventCategory, ScopeType
impl From<ScopeType> for EventCategory
Referenced types: From, ScopeType, EventCategory
from
Referenced types: from, ScopeType, EventCategory
impl Hash for EventCategory
Referenced types: Hash, EventCategory
hash
Referenced types: hash, &mut __H, Hasher
hash_slice
Referenced types: hash_slice, &mut H, Hasher, Sized
impl Ord for EventCategory
Referenced types: Ord, EventCategory
cmp
Referenced types: cmp, EventCategory, Ordering
max
min
clamp
Referenced types: clamp, Sized
impl PartialEq for EventCategory
Referenced types: PartialEq, EventCategory
eq
Referenced types: eq, EventCategory, bool
ne
Referenced types: ne, &Rhs, bool
impl PartialOrd for EventCategory
Referenced types: PartialOrd, EventCategory
partial_cmp
Referenced types: partial_cmp, EventCategory, Option, Ordering
lt
Referenced types: lt, &Rhs, bool
le
Referenced types: le, &Rhs, bool
gt
Referenced types: gt, &Rhs, bool
ge
Referenced types: ge, &Rhs, bool
impl Serialize for EventCategory
Referenced types: Serialize, EventCategory
serialize
Referenced types: serialize, Result, Serializer, Ok, Error
impl WireValue<String> for EventCategory
Referenced types: String, EventCategory
to_wire
Referenced types: Result, String
from_wire
Referenced types: String, Result, EventCategory
impl Eq for EventCategory
Referenced types: Eq, EventCategory
impl StructuralPartialEq for EventCategory
Referenced types: StructuralPartialEq, EventCategory