pub enum SteeringAction {
Continue,
InjectMessage(String),
CompleteAndSwitch(QueuedMessage),
Abort {
reason: String,
},
}Expand description
Action to take at a tool boundary based on queue state.
Variants§
Continue
Continue current run (no preemption).
InjectMessage(String)
Inject a new message into the current run context.
CompleteAndSwitch(QueuedMessage)
Complete current run early and start new run with queued message.
Abort
Abort current run (emergency interrupt).
Trait Implementations§
Source§impl Clone for SteeringAction
impl Clone for SteeringAction
Source§fn clone(&self) -> SteeringAction
fn clone(&self) -> SteeringAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SteeringAction
impl RefUnwindSafe for SteeringAction
impl Send for SteeringAction
impl Sync for SteeringAction
impl Unpin for SteeringAction
impl UnsafeUnpin for SteeringAction
impl UnwindSafe for SteeringAction
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