#[non_exhaustive]pub enum LiveRunCommand {
Messages(Vec<Message>),
PendingBoundaryWake,
Cancel,
Decision(Vec<(String, ToolCallResume)>),
}Expand description
Control command delivered to an active run’s owning node (out-of-band
relative to durable dispatch). Consumed by the runtime forwarder attached
to each RunHandle; unsubscribed targets silently drop commands (best
effort — steering is ephemeral by design).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Messages(Vec<Message>)
Inject messages into the running agent’s next step boundary inbox.
PendingBoundaryWake
Wake the owner run to consume already-staged pending messages.
Cancel
Cooperatively cancel the run (immediate cancellation token).
Decision(Vec<(String, ToolCallResume)>)
Deliver tool-call resume decisions to the run.
Trait Implementations§
Source§impl Clone for LiveRunCommand
impl Clone for LiveRunCommand
Source§fn clone(&self) -> LiveRunCommand
fn clone(&self) -> LiveRunCommand
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 LiveRunCommand
impl Debug for LiveRunCommand
Source§impl<'de> Deserialize<'de> for LiveRunCommand
impl<'de> Deserialize<'de> for LiveRunCommand
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LiveRunCommand, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LiveRunCommand, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LiveRunCommand
impl Serialize for LiveRunCommand
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LiveRunCommand
impl RefUnwindSafe for LiveRunCommand
impl Send for LiveRunCommand
impl Sync for LiveRunCommand
impl Unpin for LiveRunCommand
impl UnsafeUnpin for LiveRunCommand
impl UnwindSafe for LiveRunCommand
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