test::bench

Function run_once

source
pub fn run_once<F>(f: F) -> Result<(), String>
where F: FnMut(&mut Bencher) -> Result<(), String>,
🔬This is a nightly-only experimental API. (test)