Trait puffin::trace_helper::TraceHelper

source ·
pub trait TraceHelper<A, M>
where M: Matcher,
{ // Required methods fn build_named_trace(self) -> (&'static str, Trace<M>); fn build_trace(self) -> Trace<M>; fn fn_name(&self) -> &'static str; }

Required Methods§

source

fn build_named_trace(self) -> (&'static str, Trace<M>)

source

fn build_trace(self) -> Trace<M>

source

fn fn_name(&self) -> &'static str

Implementors§

source§

impl<M, F> TraceHelper<(AgentName, AgentName), M> for F
where F: Fn(AgentName, AgentName) -> Trace<M>, M: Matcher,

source§

impl<M, F> TraceHelper<AgentName, M> for F
where F: Fn(AgentName) -> Trace<M>, M: Matcher,