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§

source

fn record_call(&mut self, params: &ActionParams)

Prepares call trace for given params.

source

fn record_call_result(&mut self, result: &FrameResult)

Prepares call result trace

source

fn record_create(&mut self, params: &ActionParams)

Prepares create trace for given params.

source

fn record_create_result(&mut self, result: &FrameResult)

Prepares create result trace

Implementations on Foreign Types§

source§

impl CallTracer for ()

source§

fn record_call(&mut self, params: &ActionParams)

Prepares call trace for given params.

source§

fn record_call_result(&mut self, result: &FrameResult)

Prepares call result trace

source§

fn record_create(&mut self, params: &ActionParams)

Prepares create trace for given params.

source§

fn record_create_result(&mut self, result: &FrameResult)

Prepares create result trace

source§

impl<T: CallTracer + ?Sized> CallTracer for &mut T

source§

fn record_call(&mut self, params: &ActionParams)

source§

fn record_call_result(&mut self, result: &FrameResult)

source§

fn record_create(&mut self, params: &ActionParams)

source§

fn record_create_result(&mut self, result: &FrameResult)

source§

impl<TupleElement0: CallTracer> CallTracer for (TupleElement0,)

source§

fn record_call(&mut self, params: &ActionParams)

Prepares call trace for given params.

source§

fn record_call_result(&mut self, result: &FrameResult)

Prepares call result trace

source§

fn record_create(&mut self, params: &ActionParams)

Prepares create trace for given params.

source§

fn record_create_result(&mut self, result: &FrameResult)

Prepares create result trace

source§

impl<TupleElement0: CallTracer, TupleElement1: CallTracer> CallTracer for (TupleElement0, TupleElement1)

source§

fn record_call(&mut self, params: &ActionParams)

Prepares call trace for given params.

source§

fn record_call_result(&mut self, result: &FrameResult)

Prepares call result trace

source§

fn record_create(&mut self, params: &ActionParams)

Prepares create trace for given params.

source§

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)

source§

fn record_call(&mut self, params: &ActionParams)

Prepares call trace for given params.

source§

fn record_call_result(&mut self, result: &FrameResult)

Prepares call result trace

source§

fn record_create(&mut self, params: &ActionParams)

Prepares create trace for given params.

source§

fn record_create_result(&mut self, result: &FrameResult)

Prepares create result trace

Implementors§