referrerpolicy=no-referrer-when-downgrade

BenchmarkHelper

Trait BenchmarkHelper 

Source
pub trait BenchmarkHelper<Chunk> {
    // Required methods
    fn valid_account_context() -> Context;
    fn initialize_chunks() -> Vec<Chunk>;
}

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl BenchmarkHelper<()> for ()

Available on crate feature std only.
Source§

impl BenchmarkHelper<StaticChunk> for ()

Available on crate feature std only.
Source§

fn valid_account_context() -> Context

Source§

fn initialize_chunks() -> Vec<StaticChunk>

Implementors§