[][src]Enum flowrlib::debug::Event

pub enum Event {
    JobCompleted(usizeusizeOption<Value>),
    EnteringDebugger,
    ExitingDebugger,
    PriorToSendingJob(usizeusize),
    BlockBreakpoint(Block),
    DataBreakpoint(usizeStringValueusizeusize),
    Panic(Stringusize),
    JobError(Job),
    ExecutionStarted,
    ExecutionEnded,
    Deadlock(String),
    SendingValue(usizeValueusizeusize),
    Error(String),
    Message(String),
    Resetting,
    WaitingForCommand(usize),
    Invalid,
}

A run-time event that the debugger communicates to the debug_client for it to decide what to do, or what to request of the user

Variants

JobCompleted(usizeusizeOption<Value>)

A Job ran to completion by a function - includes: job_id, function_id

EnteringDebugger

Entering the debugger

ExitingDebugger

The debugger/run-time is exiting

PriorToSendingJob(usizeusize)

The run-time is about to send a Job for execution - an opportunity to break includes: job_id, function_id

BlockBreakpoint(Block)

A breakpoint on a Block between two functions was encountered includes: blocked_id, blocking_id, blocking_io_number

DataBreakpoint(usizeStringValueusizeusize)

A breakpoint on a Value being sent between two functions was encountered includes: source_process_id, output_route, value, destination_id, input_number));

Panic(Stringusize)

A panic occurred executing a Flows Job - includes the output of the job that panicked

JobError(Job)

There was an error executing the Job

ExecutionStarted

Execution of the flow has started

ExecutionEnded

Execution of the flow has ended

Deadlock(String)

A check has detected that there is a deadlock between functions impeding more execution

SendingValue(usizeValueusizeusize)

A value is being sent from the output of one function to the input of another includes: source_process_id, value, destination_id, input_number

Error(String)

An error was detected - includes: A string describing the error

Message(String)

A message for display to the user of the debug_client

Resetting

The run-time is resetting the status back to the initial state

WaitingForCommand(usize)

Debugger is blocked waiting for a command before proceeding

Invalid

Invalid - used when deserialization goes wrong

Trait Implementations

impl<'de> Deserialize<'de> for Event[src]

impl From<Message> for DebugEvent[src]

impl Serialize for Event[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Sendable for T where
    T: Into<Message>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.