pub struct TraceResult {
pub elements_traced: u64,
pub avg_latency_us: f64,
pub p50_latency_us: f64,
pub p99_latency_us: f64,
pub total_copies: u64,
pub buffer_reuse_pct: f64,
pub backpressure_events: u64,
pub traces: Vec<ElementTrace>,
pub flow_name: String,
}Expand description
Result of torvyn trace.
Fields§
§elements_traced: u64Number of elements traced.
avg_latency_us: f64Average latency in microseconds.
p50_latency_us: f64p50 latency in microseconds.
p99_latency_us: f64p99 latency in microseconds.
total_copies: u64Total copies observed.
buffer_reuse_pct: f64Buffer reuse percentage.
backpressure_events: u64Number of backpressure events.
traces: Vec<ElementTrace>Per-element traces.
flow_name: StringFlow name.
Trait Implementations§
Source§impl Debug for TraceResult
impl Debug for TraceResult
Source§impl HumanRenderable for TraceResult
impl HumanRenderable for TraceResult
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 TraceResult
impl RefUnwindSafe for TraceResult
impl Send for TraceResult
impl Sync for TraceResult
impl Unpin for TraceResult
impl UnsafeUnpin for TraceResult
impl UnwindSafe for TraceResult
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