pub enum RunMode {
RealTime,
HistoricalFrom(NanoTime),
}Expand description
Whether the graph should run in RealTime or Historical mode.
Defaults to RunMode::RealTime, the production deployment mode.
Variants§
RealTime
Engine time follows the wall clock, and the kernel parks between cycles. Threaded and busy-poll sources are only legal here.
HistoricalFrom(NanoTime)
Deterministic replay from the given start time: engine time is pure logic — each cycle advances to the earliest scheduled callback, never consulting a clock — so a run is reproducible cycle for cycle.
Implementations§
Trait Implementations§
impl Copy for RunMode
impl StructuralPartialEq for RunMode
Auto Trait Implementations§
impl Freeze for RunMode
impl RefUnwindSafe for RunMode
impl Send for RunMode
impl Sync for RunMode
impl Unpin for RunMode
impl UnsafeUnpin for RunMode
impl UnwindSafe for RunMode
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