pub struct GraphMetrics {
pub node_executions: HashMap<String, u64>,
pub errors: HashMap<String, u64>,
pub total_steps: u64,
}Expand description
Per-node execution counts and error counts.
Fields§
§node_executions: HashMap<String, u64>Times each node has finished successfully.
errors: HashMap<String, u64>Times each node errored.
total_steps: u64Total supersteps observed (OnNodeEnd events).
Trait Implementations§
Source§impl Clone for GraphMetrics
impl Clone for GraphMetrics
Source§fn clone(&self) -> GraphMetrics
fn clone(&self) -> GraphMetrics
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 GraphMetrics
impl Debug for GraphMetrics
Source§impl Default for GraphMetrics
impl Default for GraphMetrics
Source§fn default() -> GraphMetrics
fn default() -> GraphMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphMetrics
impl RefUnwindSafe for GraphMetrics
impl Send for GraphMetrics
impl Sync for GraphMetrics
impl Unpin for GraphMetrics
impl UnsafeUnpin for GraphMetrics
impl UnwindSafe for GraphMetrics
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