pub struct ExecutionMetrics { /* private fields */ }Expand description
Measurement data for a single execution.
Implementations§
Source§impl ExecutionMetrics
impl ExecutionMetrics
pub fn new() -> Self
Sourcepub fn custom_handle(&self) -> Arc<Mutex<CustomMetrics>>
pub fn custom_handle(&self) -> Arc<Mutex<CustomMetrics>>
Handle for custom metrics, passed to the Lua bridge.
pub fn create_observer(&self) -> MetricsObserver
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionMetrics
impl RefUnwindSafe for ExecutionMetrics
impl Send for ExecutionMetrics
impl Sync for ExecutionMetrics
impl Unpin for ExecutionMetrics
impl UnsafeUnpin for ExecutionMetrics
impl UnwindSafe for ExecutionMetrics
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