pub trait CheckpointTracer {
    // Provided methods
    fn trace_checkpoint(&mut self) { ... }
    fn trace_checkpoint_discard(&mut self) { ... }
    fn trace_checkpoint_revert(&mut self) { ... }
}

Provided Methods§

source

fn trace_checkpoint(&mut self)

source

fn trace_checkpoint_discard(&mut self)

Discard the top checkpoint for validity mark

source

fn trace_checkpoint_revert(&mut self)

Mark the traces to the top checkpoint as “valid = false”

Implementations on Foreign Types§

source§

impl CheckpointTracer for ()

source§

fn trace_checkpoint_discard(&mut self)

Discard the top checkpoint for validity mark

source§

fn trace_checkpoint_revert(&mut self)

Mark the traces to the top checkpoint as “valid = false”

source§

fn trace_checkpoint(&mut self)

source§

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

source§

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

source§

fn trace_checkpoint_discard(&mut self)

Discard the top checkpoint for validity mark

source§

fn trace_checkpoint_revert(&mut self)

Mark the traces to the top checkpoint as “valid = false”

source§

fn trace_checkpoint(&mut self)

source§

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

source§

fn trace_checkpoint_discard(&mut self)

Discard the top checkpoint for validity mark

source§

fn trace_checkpoint_revert(&mut self)

Mark the traces to the top checkpoint as “valid = false”

source§

fn trace_checkpoint(&mut self)

source§

impl<TupleElement0: CheckpointTracer, TupleElement1: CheckpointTracer, TupleElement2: CheckpointTracer> CheckpointTracer for (TupleElement0, TupleElement1, TupleElement2)

source§

fn trace_checkpoint_discard(&mut self)

Discard the top checkpoint for validity mark

source§

fn trace_checkpoint_revert(&mut self)

Mark the traces to the top checkpoint as “valid = false”

source§

fn trace_checkpoint(&mut self)

Implementors§