pub enum Report {
Completed(Duration),
ExpiredTimer(Duration),
CompletedEarly(Duration),
}
Variants§
Completed(Duration)
Timer has been correctly requested, and woke up normally. Returned value is overslept duration than the requested timeout.
ExpiredTimer(Duration)
Timer has not been requested as the timeout is already expired.
CompletedEarly(Duration)
We woke up a bit earlier than required. It is usually hundreads of nanoseconds.
Implementations§
Trait Implementations§
impl Copy for Report
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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