pub enum TimerEvent {
Started,
Split(usize),
Finished,
Reset,
Discontinuity,
}Expand description
What one observation changed.
Variants§
Started
The start predicate fired.
Split(usize)
Split n (0-based) fired and the run continues.
Finished
The last split fired.
Reset
The reset predicate fired.
Discontinuity
Time ran backward or leapt (a state load, rewind, power cycle): the run is abandoned, because its time no longer measures one run.
Trait Implementations§
Source§impl Clone for TimerEvent
impl Clone for TimerEvent
impl Copy for TimerEvent
Source§impl Debug for TimerEvent
impl Debug for TimerEvent
impl Eq for TimerEvent
Source§impl PartialEq for TimerEvent
impl PartialEq for TimerEvent
impl StructuralPartialEq for TimerEvent
Auto Trait Implementations§
impl Freeze for TimerEvent
impl RefUnwindSafe for TimerEvent
impl Send for TimerEvent
impl Sync for TimerEvent
impl Unpin for TimerEvent
impl UnsafeUnpin for TimerEvent
impl UnwindSafe for TimerEvent
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