Trait EvolvableSandbox

Source
pub trait EvolvableSandbox<Cur: Sandbox, Next: Sandbox, T: TransitionMetadata<Cur, Next>>: Sandbox {
    // Required method
    fn evolve(self, tsn: T) -> Result<Next>;
}
Expand description

A Sandbox that knows how to “evolve” into a next state.

Required Methods§

Source

fn evolve(self, tsn: T) -> Result<Next>

Evolve Self to Next providing Metadata.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§