pub enum Mode {
Once,
Loop,
Reactive,
Schedule,
}Expand description
Execution mode. There is one supervisor loop; the mode only chooses the predicate that decides when it is finished.
Variants§
Once
Run the instruction once to a terminal status, then exit.
Loop
Keep working until a bound (iterations/deadline/tree-token) or signal.
Reactive
Idle; wake on MCP resource updates. Exits only on signal/fatal.
Schedule
Per-fire identical to once, driven by an internal interval/cron.
Implementations§
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
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