referrerpolicy=no-referrer-when-downgrade

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 ()

Source§

impl BenchmarkHelper<StaticChunk> for ()

Source§

fn valid_account_context() -> Context

Source§

fn initialize_chunks() -> Vec<StaticChunk>

Implementors§