Skip to navigation

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.

pub enum ScopeType {
Agent,
Function,
Tool,
Llm,
Retriever,
Embedder,
Reranker,
Guardrail,
Evaluator,
Custom,
Unknown,
}

Semantic category attached to a scope lifecycle span.

Variants

Agent

Agent

A top-level agent or workflow scope.

Function

Function

A generic function or application step.

Tool

Tool

A tool lifecycle scope.

Llm

Llm

An LLM lifecycle scope.

Retriever

Retriever

A retrieval step such as document search.

Embedder

Embedder

An embedding generation step.

Reranker

Reranker

A reranking step.

Guardrail

Guardrail

A guardrail or validation step.

Evaluator

Evaluator

An evaluation or scoring step.

Custom

Custom

A caller-defined custom scope category.

Unknown

Unknown

A fallback for unknown or unsupported scope categories.

Implementations

impl ScopeType

impl ScopeType

Referenced types: ScopeType

as_str

pub const fn as_str(self) -> &'static str

Referenced types: str

Return the stable lowercase string form used for encoded scope types.

Trait Implementations

impl Clone for ScopeType

impl Clone for ScopeType

Referenced types: Clone, ScopeType

clone

fn clone(&self) -> ScopeType

Referenced types: clone, ScopeType

clone_from

fn clone_from(&mut self, source: &Self)

Referenced types: clone_from

impl Debug for ScopeType

impl Debug for ScopeType

Referenced types: Debug, ScopeType

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Referenced types: fmt, Formatter, Result, (), Error

impl<'de> Deserialize<'de> for ScopeType

impl<'de> Deserialize<'de> for ScopeType

Referenced types: Deserialize, ScopeType

deserialize

fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScopeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,

Referenced types: deserialize, Result, ScopeType, Deserializer, Error

impl From<&EventCategory> for ScopeType

impl From<&EventCategory> for ScopeType

Referenced types: From, EventCategory, ScopeType

from

fn from(value: &EventCategory) -> ScopeType

Referenced types: from, EventCategory, ScopeType

impl From<ScopeType> for EventCategory

impl From<ScopeType> for EventCategory

Referenced types: From, ScopeType, EventCategory

from

fn from(value: ScopeType) -> EventCategory

Referenced types: from, ScopeType, EventCategory

impl Hash for ScopeType

impl Hash for ScopeType

Referenced types: Hash, ScopeType

hash

fn hash<__H>(&self, state: &mut __H)where
__H: Hasher,

Referenced types: hash, &mut __H, Hasher

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,

Referenced types: hash_slice, &mut H, Hasher, Sized

impl PartialEq for ScopeType

impl PartialEq for ScopeType

Referenced types: PartialEq, ScopeType

eq

fn eq(&self, other: &ScopeType) -> bool

Referenced types: eq, ScopeType, bool

ne

fn ne(&self, other: &Rhs) -> bool

Referenced types: ne, &Rhs, bool

impl Serialize for ScopeType

impl Serialize for ScopeType

Referenced types: Serialize, ScopeType

serialize

fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,

Referenced types: serialize, Result, Serializer, Ok, Error

impl Copy for ScopeType

impl Copy for ScopeType

Referenced types: Copy, ScopeType

impl Eq for ScopeType

impl Eq for ScopeType

Referenced types: Eq, ScopeType

impl StructuralPartialEq for ScopeType

impl StructuralPartialEq for ScopeType

Referenced types: StructuralPartialEq, ScopeType