pub struct SubagentOverride { /* private fields */ }Expand description
Scores a fixed worker target for delegated sub-agent work; abstains otherwise.
Implementations§
Source§impl SubagentOverride
impl SubagentOverride
Sourcepub fn new(worker: impl Into<String>) -> Self
pub fn new(worker: impl Into<String>) -> Self
Creates an override scoring worker for delegated sub-agent work.
worker must name a target in the cascade’s set, or routing a sub-agent request
fails with LibsyError::TargetNotFound.
Auto Trait Implementations§
impl Freeze for SubagentOverride
impl RefUnwindSafe for SubagentOverride
impl Send for SubagentOverride
impl Sync for SubagentOverride
impl Unpin for SubagentOverride
impl UnsafeUnpin for SubagentOverride
impl UnwindSafe for SubagentOverride
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