pub enum BspEvent {
SuperstepStart {
step: u64,
frontier: Vec<NodeId>,
},
NodeStart {
node_id: NodeId,
name: String,
},
NodeComplete {
node_id: NodeId,
name: String,
duration: Duration,
},
NodeError {
node_id: NodeId,
name: String,
error: BspError,
},
NodeRetry {
node_id: NodeId,
attempt: u32,
wait: Duration,
error: BspError,
},
EdgeTaken {
source: NodeId,
target: NodeId,
condition_label: String,
},
LoopIteration {
edge: EdgeId,
iteration: u64,
max: Option<u64>,
},
Suspended {
suspensions: Vec<PendingSuspension>,
},
Complete {
steps: u64,
},
}Expand description
One owned event from the execution stream, as broadcast by ChannelInterceptor.
Variants§
SuperstepStart
NodeStart
NodeComplete
NodeError
NodeRetry
EdgeTaken
LoopIteration
Suspended
Fields
§
suspensions: Vec<PendingSuspension>Complete
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BspEvent
impl RefUnwindSafe for BspEvent
impl Send for BspEvent
impl Sync for BspEvent
impl Unpin for BspEvent
impl UnsafeUnpin for BspEvent
impl UnwindSafe for BspEvent
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