Skip to main content

Reactor

Trait Reactor 

Source
pub trait Reactor:
    Reactor
    + Clone
    + Send
    + Sync
    + 'static { }
Expand description

Abstraction over the async task scheduler (ADR-001).

Production code uses TokioReactor; simulation tests swap in SimReactor (Phase 3) to control scheduling and time deterministically.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§