pub enum AgentLoopSpec {
Builtin(BuiltinAgentLoop),
Flux(DraftAst),
}Expand description
The agent definition (ClientBuilder::from_spec) plus its permission rules. Re-exported so
the full-control door needs no direct flux-agent dependency.
The outer control program for an agent turn.
Variants§
Builtin(BuiltinAgentLoop)
One of Flux’s shipped, versioned loop presets.
Flux(DraftAst)
A caller-supplied, already parsed Flux-Lang program.
Implementations§
Source§impl AgentLoopSpec
impl AgentLoopSpec
Trait Implementations§
Source§impl Clone for AgentLoopSpec
impl Clone for AgentLoopSpec
Source§fn clone(&self) -> AgentLoopSpec
fn clone(&self) -> AgentLoopSpec
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 AgentLoopSpec
impl Debug for AgentLoopSpec
Source§impl Default for AgentLoopSpec
impl Default for AgentLoopSpec
Source§fn default() -> AgentLoopSpec
fn default() -> AgentLoopSpec
Returns the “default value” for a type. Read more
Source§impl PartialEq for AgentLoopSpec
impl PartialEq for AgentLoopSpec
impl StructuralPartialEq for AgentLoopSpec
Auto Trait Implementations§
impl Freeze for AgentLoopSpec
impl RefUnwindSafe for AgentLoopSpec
impl Send for AgentLoopSpec
impl Sync for AgentLoopSpec
impl Unpin for AgentLoopSpec
impl UnsafeUnpin for AgentLoopSpec
impl UnwindSafe for AgentLoopSpec
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