pub enum BenchmarkFilter {
AcceptAll,
Regex(Regex),
Exact(String),
RejectAll,
}
Expand description
Benchmark filtering support.
Variants§
AcceptAll
Run all benchmarks.
Regex(Regex)
Run benchmarks matching this regex.
Exact(String)
Run the benchmark matching this string exactly.
RejectAll
Do not run any benchmarks.
Trait Implementations§
Source§impl Clone for BenchmarkFilter
impl Clone for BenchmarkFilter
Source§fn clone(&self) -> BenchmarkFilter
fn clone(&self) -> BenchmarkFilter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BenchmarkFilter
impl RefUnwindSafe for BenchmarkFilter
impl Send for BenchmarkFilter
impl Sync for BenchmarkFilter
impl Unpin for BenchmarkFilter
impl UnwindSafe for BenchmarkFilter
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