Enum flowrlib::debug_command::DebugCommand
source · pub enum DebugCommand {
Show 19 variants
Ack,
Breakpoint(Option<BreakpointSpec>),
Continue,
DebugClientStarting,
Delete(Option<BreakpointSpec>),
Error(String),
ExitDebugger,
FunctionList,
InspectFunction(usize),
Inspect,
InspectInput(usize, usize),
InspectOutput(usize, String),
InspectBlock(Option<usize>, Option<usize>),
Invalid,
List,
Modify(Option<Vec<String>>),
RunReset,
Step(Option<usize>),
Validate,
}
Expand description
A Command sent by the debug_client to the debugger
Variants§
Ack
Acknowledge event processed correctly
Breakpoint(Option<BreakpointSpec>)
Set a breakpoint
- with an optional parameter
Continue
continue
execution of the flow
DebugClientStarting
Debug client is starting
Delete(Option<BreakpointSpec>)
delete
an existing breakpoint - with an optional parameter
Error(String)
An error on the client side
ExitDebugger
exit
the debugger and runtime
FunctionList
List of all functions
InspectFunction(usize)
inspect
a function
Inspect
Inspect overall state
InspectInput(usize, usize)
Inspect an Input (function_id, input_number)
InspectOutput(usize, String)
Inspect an Output (function_id, sub-path)
InspectBlock(Option<usize>, Option<usize>)
Inspect a Block (optional source function_id, optional destination function_id)
Invalid
Invalid - used when deserialization goes wrong
List
list
existing breakpoints
Modify(Option<Vec<String>>)
modify
a debugger or runtime state value e.g. jobs=1 to set parallel jobs to 1
RunReset
reset
flow execution back to the initial state, or run the flow from the start
Step(Option<usize>)
step
forward in flow execution by executing one (default) or more Jobs
Validate
validate
the current state
Trait Implementations§
source§impl Debug for DebugCommand
impl Debug for DebugCommand
source§impl<'de> Deserialize<'de> for DebugCommand
impl<'de> Deserialize<'de> for DebugCommand
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl Display for DebugCommand
impl Display for DebugCommand
source§impl From<&DebugCommand> for String
impl From<&DebugCommand> for String
source§fn from(command: &DebugCommand) -> Self
fn from(command: &DebugCommand) -> Self
source§impl From<DebugCommand> for String
impl From<DebugCommand> for String
source§fn from(command: DebugCommand) -> Self
fn from(command: DebugCommand) -> Self
source§impl From<String> for DebugCommand
impl From<String> for DebugCommand
source§impl PartialEq<DebugCommand> for DebugCommand
impl PartialEq<DebugCommand> for DebugCommand
source§fn eq(&self, other: &DebugCommand) -> bool
fn eq(&self, other: &DebugCommand) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DebugCommand
impl Serialize for DebugCommand
impl Eq for DebugCommand
impl StructuralEq for DebugCommand
impl StructuralPartialEq for DebugCommand
Auto Trait Implementations§
impl RefUnwindSafe for DebugCommand
impl Send for DebugCommand
impl Sync for DebugCommand
impl Unpin for DebugCommand
impl UnwindSafe for DebugCommand
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.