pub enum AgentRole {
Orchestrator,
TaskLead,
Executor,
}Expand description
Role assigned to an agent for role-based tool scoping.
Variants§
Orchestrator
Root agent — routes, classifies, full tool access (legacy behavior).
TaskLead
Plans & delegates — management tools only.
Executor
Executes a single task — action tools + report_blocker.
Trait Implementations§
impl Copy for AgentRole
impl Eq for AgentRole
impl StructuralPartialEq for AgentRole
Auto Trait Implementations§
impl Forget for AgentRole
impl Freeze for AgentRole
impl Move for AgentRole
impl RefUnwindSafe for AgentRole
impl Send for AgentRole
impl Sync for AgentRole
impl Unpin for AgentRole
impl UnsafeUnpin for AgentRole
impl UnwindSafe for AgentRole
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