pub enum ComponentKind {
Show 13 variants
Runner,
Tool,
Memory,
Planner,
Judge,
Router,
Persona,
Retriever,
Sandbox,
Recorder,
Voice,
Topology,
Custom(Symbol),
}Expand description
The role a Component plays within an agent.
Variants§
Runner
Drives a model to produce responses.
Tool
Exposes a callable tool the agent may invoke.
Memory
Stores and retrieves agent memory.
Planner
Decomposes tasks and plans agent execution.
Judge
Scores or ranks candidate responses.
Router
Routes work among targets.
Persona
Shapes the agent’s voice or style.
Retriever
Retrieves external context or documents.
Sandbox
Confines execution within a sandbox.
Recorder
Records transcripts, audits, or metrics.
Voice
Handles speech synthesis or recognition.
Topology
Describes the agent network’s topology.
Custom(Symbol)
A custom component kind named by the given symbol.
Trait Implementations§
Source§impl Clone for ComponentKind
impl Clone for ComponentKind
Source§fn clone(&self) -> ComponentKind
fn clone(&self) -> ComponentKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentKind
impl Debug for ComponentKind
impl Eq for ComponentKind
Source§impl PartialEq for ComponentKind
impl PartialEq for ComponentKind
Source§fn eq(&self, other: &ComponentKind) -> bool
fn eq(&self, other: &ComponentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComponentKind
Auto Trait Implementations§
impl Freeze for ComponentKind
impl RefUnwindSafe for ComponentKind
impl Send for ComponentKind
impl Sync for ComponentKind
impl Unpin for ComponentKind
impl UnsafeUnpin for ComponentKind
impl UnwindSafe for ComponentKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more