pub struct TimingResult {
pub earliest_start: SystemTime,
pub latest_finish: SystemTime,
pub min_execution_time: Duration,
pub max_execution_time: Duration,
}
Expand description
A structure for holding the response of a timing request.
Fields§
§earliest_start: SystemTime
Callback began executing no earlier than this time
latest_finish: SystemTime
Callback finished executing no later than this time
min_execution_time: Duration
No less than this amount of time elapsed from when timing() was called to when it returned.
max_execution_time: Duration
No more than this amount of time elapsed when the callback was invoked to when it returned.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimingResult
impl RefUnwindSafe for TimingResult
impl Send for TimingResult
impl Sync for TimingResult
impl Unpin for TimingResult
impl UnwindSafe for TimingResult
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