pub enum SubagentScope {
DirectChildren,
TreePeers,
}Expand description
Stable send_message:<code> error strings carried by
EngineError::Messaging. The tool layer surfaces them verbatim so sending
models can react predictably (retry, back off, or give up).
The addressable set a reference resolves against. send_message reaches
every peer in the tree; the subagent-result/cancel/resume tools only reach
the caller’s own direct children, matching their ownership checks.
Variants§
Trait Implementations§
Source§impl Clone for SubagentScope
impl Clone for SubagentScope
Source§fn clone(&self) -> SubagentScope
fn clone(&self) -> SubagentScope
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 moreimpl Copy for SubagentScope
Source§impl Debug for SubagentScope
impl Debug for SubagentScope
impl Eq for SubagentScope
Source§impl PartialEq for SubagentScope
impl PartialEq for SubagentScope
Source§fn eq(&self, other: &SubagentScope) -> bool
fn eq(&self, other: &SubagentScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubagentScope
Auto Trait Implementations§
impl Freeze for SubagentScope
impl RefUnwindSafe for SubagentScope
impl Send for SubagentScope
impl Sync for SubagentScope
impl Unpin for SubagentScope
impl UnsafeUnpin for SubagentScope
impl UnwindSafe for SubagentScope
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.