pub struct SynthesisResult {
pub stage_id: StageId,
pub implementation: String,
pub language: String,
pub effects: EffectSet,
pub attempts: u32,
pub is_new: bool,
}Expand description
A stage that was synthesized during a compose() call.
Fields§
§stage_id: StageIdID of the newly registered stage.
implementation: StringThe generated implementation code.
language: StringLanguage of the generated code (e.g. “python”).
effects: EffectSetEffects inferred for the synthesized stage. The executor uses this to derive the correct isolation policy — dropping it here meant synthesized Network stages ended up with a no-network sandbox and failed opaquely at runtime.
attempts: u32Number of LLM attempts needed to produce a valid implementation.
is_new: boolFalse when a stage with an identical signature was already in the store.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SynthesisResult
impl RefUnwindSafe for SynthesisResult
impl Send for SynthesisResult
impl Sync for SynthesisResult
impl Unpin for SynthesisResult
impl UnsafeUnpin for SynthesisResult
impl UnwindSafe for SynthesisResult
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