Struct jortestkit::measurement::ConsumptionBenchmarkRun
source · pub struct ConsumptionBenchmarkRun {
definition: ConsumptionBenchmarkDef,
markers: HashMap<NamedProcess, Vec<ResourcesUsage>>,
}
Fields§
§definition: ConsumptionBenchmarkDef
§markers: HashMap<NamedProcess, Vec<ResourcesUsage>>
Implementations§
source§impl ConsumptionBenchmarkRun
impl ConsumptionBenchmarkRun
pub fn snapshot(&mut self) -> Result<(), ConsumptionBenchmarkError>
pub fn exception(self, info: String) -> ConsumptionBenchmarkFinish
pub fn stop(self) -> ConsumptionBenchmarkFinish
Trait Implementations§
source§impl Clone for ConsumptionBenchmarkRun
impl Clone for ConsumptionBenchmarkRun
source§fn clone(&self) -> ConsumptionBenchmarkRun
fn clone(&self) -> ConsumptionBenchmarkRun
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 RefUnwindSafe for ConsumptionBenchmarkRun
impl Send for ConsumptionBenchmarkRun
impl Sync for ConsumptionBenchmarkRun
impl Unpin for ConsumptionBenchmarkRun
impl UnwindSafe for ConsumptionBenchmarkRun
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