pub struct Engine { /* private fields */ }Implementations§
Source§impl Engine
impl Engine
pub fn new(config: EngineConfig, _state: StateStore) -> (Self, EngineHandle)
Sourcepub async fn run(self)
pub async fn run(self)
Run the engine loop. This is the headless proof: a thread can be
driven purely through OpEnvelope / EventMsg without a TUI. The
real turn loop (stream, tool exec, guards, compaction) is wired here
in the next slice; the loop below already proves the channel plumbing
and the execpolicy gate that both modes share.
Auto Trait Implementations§
impl Freeze for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
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