Enum Scope Type
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
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
as_str
pub const fn as_str(self) -> &'static str
Return the stable lowercase string form used for encoded scope types.
Trait Implementations
impl Clone for ScopeType
impl Clone for ScopeType
clone
fn clone(&self) -> ScopeType
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ScopeType
impl Debug for ScopeType
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for ScopeType
impl<'de> Deserialize<'de> for ScopeType
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl From<&EventCategory> for ScopeType
impl From<&EventCategory> for ScopeType
from
fn from(value: &EventCategory) -> Self
impl From<ScopeType> for EventCategory
impl From<ScopeType> for EventCategory
from
fn from(value: ScopeType) -> Self
impl Hash for ScopeType
impl Hash for ScopeType
hash
fn hash<__H: Hasher>(&self, state: &mut __H)
hash_slice
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
impl PartialEq for ScopeType
impl PartialEq for ScopeType
eq
fn eq(&self, other: &ScopeType) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for ScopeType
impl Serialize for ScopeType
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Copy for ScopeType
impl Copy for ScopeType
impl Eq for ScopeType
impl Eq for ScopeType
impl StructuralPartialEq for ScopeType
impl StructuralPartialEq for ScopeType