pub struct RunResult {
pub duration_secs: f64,
pub elements_processed: u64,
pub throughput_elem_per_sec: f64,
pub error_count: u64,
pub peak_memory_bytes: u64,
pub flow_name: String,
pub component_count: usize,
pub edge_count: usize,
}Expand description
Result of torvyn run.
Fields§
§duration_secs: f64Total execution duration in seconds.
elements_processed: u64Total elements processed.
throughput_elem_per_sec: f64Average throughput in elements/second.
error_count: u64Total errors encountered.
peak_memory_bytes: u64Peak memory usage in bytes (across all components).
flow_name: StringFlow name that was executed.
component_count: usizeNumber of components in the flow.
edge_count: usizeNumber of edges in the flow.
Trait Implementations§
Source§impl HumanRenderable for RunResult
impl HumanRenderable for RunResult
Source§fn render_human(&self, ctx: &OutputContext)
fn render_human(&self, ctx: &OutputContext)
Render this value to the terminal.
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more