pub struct BenchmarkManager { /* private fields */ }Expand description
Manages downloading, loading, and removing benchmark datasets.
Maintains a list of active benchmarks and their on-disk location.
Implementations§
Source§impl BenchmarkManager
impl BenchmarkManager
Sourcepub fn new<P: Into<PathBuf>>(benchmark_dir: P) -> Self
pub fn new<P: Into<PathBuf>>(benchmark_dir: P) -> Self
Creates a new manager rooted at the given directory, creating it if it doesn’t exist.
Auto Trait Implementations§
impl Freeze for BenchmarkManager
impl RefUnwindSafe for BenchmarkManager
impl Send for BenchmarkManager
impl Sync for BenchmarkManager
impl Unpin for BenchmarkManager
impl UnsafeUnpin for BenchmarkManager
impl UnwindSafe for BenchmarkManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more