pub struct Runner<'a> {
pub provider: &'a dyn Provider,
pub shell: &'a dyn Shell,
pub fs: &'a dyn Fs,
pub context: &'a dyn ContextStrategy,
pub root: PathBuf,
pub budget: Budget,
pub rollback: bool,
pub on_event: Option<&'a dyn Fn(Event<'_>)>,
pub research: bool,
pub claim_check: bool,
pub base_check: BaseCheck<'a>,
}Fields§
§provider: &'a dyn Provider§shell: &'a dyn Shell§fs: &'a dyn Fs§context: &'a dyn ContextStrategy§root: PathBuf§budget: Budget§rollback: boolReset the tree to the checkpoint when the gate fails. Invariant III; default on.
on_event: Option<&'a dyn Fn(Event<'_>)>Called as the run proceeds. Default is silent.
research: boolResearch run: periodically remind the model to keep report.md updated.
claim_check: boolResearch runs: check report.md’s claims with the run’s model (claim_check).
base_check: BaseCheck<'a>How to check the verification gate against the untouched base tree.
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Runner<'a>
impl<'a> !Send for Runner<'a>
impl<'a> !Sync for Runner<'a>
impl<'a> !UnwindSafe for Runner<'a>
impl<'a> Forget for Runner<'a>
impl<'a> Freeze for Runner<'a>
impl<'a> Move for Runner<'a>
impl<'a> Unpin for Runner<'a>
impl<'a> UnsafeUnpin for Runner<'a>where
&'a dyn Provider: UnsafeUnpin,
&'a dyn Shell: UnsafeUnpin,
&'a dyn Fs: UnsafeUnpin,
&'a dyn ContextStrategy: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'a dyn Fn(Event<'_>): UnsafeUnpin,
&'a dyn BaseCheckHandle: UnsafeUnpin,
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