Trait puffin::trace_helper::TraceHelper

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

Required Methods§

source

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

source

fn build_trace(self) -> Trace<PT>

source

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

Implementors§

source§

impl<PT, F> TraceHelper<(AgentName, AgentName), PT> for F
where F: Fn(AgentName, AgentName) -> Trace<PT>, PT: ProtocolTypes,

source§

impl<PT, F> TraceHelper<AgentName, PT> for F
where F: Fn(AgentName) -> Trace<PT>, PT: ProtocolTypes,