pub struct AttemptRecord {
pub attempt: usize,
pub feedback_injected: Option<String>,
pub generation_succeeded: bool,
pub verification_passed: bool,
pub compilation_succeeded: bool,
pub execution_succeeded: bool,
pub failure_reason: Option<String>,
}Fields§
§attempt: usize1-based attempt number.
feedback_injected: Option<String>Feedback injected from the previous attempt’s failure (None on attempt 1).
generation_succeeded: boolWhether the LLM returned a parseable Rust code block.
verification_passed: boolWhether static analysis + test presence passed.
compilation_succeeded: boolWhether rustc compiled the source to WASM.
execution_succeeded: boolWhether wasmtime executed the WASM with exit code 0.
failure_reason: Option<String>The reason this attempt failed, or None on success.
Trait Implementations§
Source§impl Clone for AttemptRecord
impl Clone for AttemptRecord
Source§fn clone(&self) -> AttemptRecord
fn clone(&self) -> AttemptRecord
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 AttemptRecord
impl Debug for AttemptRecord
Source§impl<'de> Deserialize<'de> for AttemptRecord
impl<'de> Deserialize<'de> for AttemptRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AttemptRecord
impl RefUnwindSafe for AttemptRecord
impl Send for AttemptRecord
impl Sync for AttemptRecord
impl Unpin for AttemptRecord
impl UnsafeUnpin for AttemptRecord
impl UnwindSafe for AttemptRecord
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