bijux-dag-runtime 0.4.0

Execution engine, replay semantics, and runtime policy layer for Bijux DAG graphs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Runtime trace boundary surface.

use crate::NodeStatus;

pub fn trace_status_label(status: &NodeStatus) -> &'static str {
    match status {
        NodeStatus::Success => "success",
        NodeStatus::Failed => "failed",
        NodeStatus::Skipped => "skipped",
        NodeStatus::Cached => "cached",
        NodeStatus::Cancelled => "cancelled",
    }
}