pub struct SpinPeriodResult {
pub work: SpinOnceResult,
pub overrun: bool,
pub elapsed: Duration,
}Expand description
Result from a single period with wall-clock measurement (std only).
Contains the work performed, whether processing exceeded the period (overrun), and the actual wall-clock processing time.
Fields§
§work: SpinOnceResultWork performed during this period
overrun: boolWhether processing exceeded the target period
elapsed: DurationActual wall-clock processing time
Trait Implementations§
Source§impl Clone for SpinPeriodResult
impl Clone for SpinPeriodResult
Source§fn clone(&self) -> SpinPeriodResult
fn clone(&self) -> SpinPeriodResult
Returns a duplicate 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 SpinPeriodResult
impl RefUnwindSafe for SpinPeriodResult
impl Send for SpinPeriodResult
impl Sync for SpinPeriodResult
impl Unpin for SpinPeriodResult
impl UnsafeUnpin for SpinPeriodResult
impl UnwindSafe for SpinPeriodResult
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