Trait cfx_executor::observer::CallTracer
source · pub trait CallTracer {
// Provided methods
fn record_call(&mut self, params: &ActionParams) { ... }
fn record_call_result(&mut self, result: &FrameResult) { ... }
fn record_create(&mut self, params: &ActionParams) { ... }
fn record_create_result(&mut self, result: &FrameResult) { ... }
}
Provided Methods§
sourcefn record_call(&mut self, params: &ActionParams)
fn record_call(&mut self, params: &ActionParams)
Prepares call trace for given params.
sourcefn record_call_result(&mut self, result: &FrameResult)
fn record_call_result(&mut self, result: &FrameResult)
Prepares call result trace
sourcefn record_create(&mut self, params: &ActionParams)
fn record_create(&mut self, params: &ActionParams)
Prepares create trace for given params.
sourcefn record_create_result(&mut self, result: &FrameResult)
fn record_create_result(&mut self, result: &FrameResult)
Prepares create result trace
Implementations on Foreign Types§
source§impl CallTracer for ()
impl CallTracer for ()
source§fn record_call(&mut self, params: &ActionParams)
fn record_call(&mut self, params: &ActionParams)
Prepares call trace for given params.
source§fn record_call_result(&mut self, result: &FrameResult)
fn record_call_result(&mut self, result: &FrameResult)
Prepares call result trace
source§fn record_create(&mut self, params: &ActionParams)
fn record_create(&mut self, params: &ActionParams)
Prepares create trace for given params.
source§fn record_create_result(&mut self, result: &FrameResult)
fn record_create_result(&mut self, result: &FrameResult)
Prepares create result trace
source§impl<T: CallTracer + ?Sized> CallTracer for &mut T
impl<T: CallTracer + ?Sized> CallTracer for &mut T
fn record_call(&mut self, params: &ActionParams)
fn record_call_result(&mut self, result: &FrameResult)
fn record_create(&mut self, params: &ActionParams)
fn record_create_result(&mut self, result: &FrameResult)
source§impl<TupleElement0: CallTracer> CallTracer for (TupleElement0,)
impl<TupleElement0: CallTracer> CallTracer for (TupleElement0,)
source§fn record_call(&mut self, params: &ActionParams)
fn record_call(&mut self, params: &ActionParams)
Prepares call trace for given params.
source§fn record_call_result(&mut self, result: &FrameResult)
fn record_call_result(&mut self, result: &FrameResult)
Prepares call result trace
source§fn record_create(&mut self, params: &ActionParams)
fn record_create(&mut self, params: &ActionParams)
Prepares create trace for given params.
source§fn record_create_result(&mut self, result: &FrameResult)
fn record_create_result(&mut self, result: &FrameResult)
Prepares create result trace
source§impl<TupleElement0: CallTracer, TupleElement1: CallTracer> CallTracer for (TupleElement0, TupleElement1)
impl<TupleElement0: CallTracer, TupleElement1: CallTracer> CallTracer for (TupleElement0, TupleElement1)
source§fn record_call(&mut self, params: &ActionParams)
fn record_call(&mut self, params: &ActionParams)
Prepares call trace for given params.
source§fn record_call_result(&mut self, result: &FrameResult)
fn record_call_result(&mut self, result: &FrameResult)
Prepares call result trace
source§fn record_create(&mut self, params: &ActionParams)
fn record_create(&mut self, params: &ActionParams)
Prepares create trace for given params.
source§fn record_create_result(&mut self, result: &FrameResult)
fn record_create_result(&mut self, result: &FrameResult)
Prepares create result trace
source§impl<TupleElement0: CallTracer, TupleElement1: CallTracer, TupleElement2: CallTracer> CallTracer for (TupleElement0, TupleElement1, TupleElement2)
impl<TupleElement0: CallTracer, TupleElement1: CallTracer, TupleElement2: CallTracer> CallTracer for (TupleElement0, TupleElement1, TupleElement2)
source§fn record_call(&mut self, params: &ActionParams)
fn record_call(&mut self, params: &ActionParams)
Prepares call trace for given params.
source§fn record_call_result(&mut self, result: &FrameResult)
fn record_call_result(&mut self, result: &FrameResult)
Prepares call result trace
source§fn record_create(&mut self, params: &ActionParams)
fn record_create(&mut self, params: &ActionParams)
Prepares create trace for given params.
source§fn record_create_result(&mut self, result: &FrameResult)
fn record_create_result(&mut self, result: &FrameResult)
Prepares create result trace