Trait CheckpointTracer

Source
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§