Enum Scope Type
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.
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<(), Error>
impl<'de> Deserialize<'de> for ScopeType
impl<'de> Deserialize<'de> for ScopeType
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScopeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl From<&EventCategory> for ScopeType
impl From<&EventCategory> for ScopeType
from
fn from(value: &EventCategory) -> ScopeType
impl From<ScopeType> for EventCategory
impl From<ScopeType> for EventCategory
from
fn from(value: ScopeType) -> EventCategory
impl From<ScopeType> for NemoRelayNativeScopeType
impl From<ScopeType> for NemoRelayNativeScopeType
from
fn from(value: ScopeType) -> Self
impl Hash for ScopeType
impl Hash for ScopeType
hash
fn hash<__H>(&self, state: &mut __H)where
__H: Hasher,
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 as Serializer>::Ok, <__S as Serializer>::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