Skip to main content

CuDistributedReplayApplication

Trait CuDistributedReplayApplication 

Source
pub trait CuDistributedReplayApplication<S, L>: CuRecordedReplayApplication<S, L> + CuSubsystemMetadata
where S: SectionStorage, L: UnifiedLogWrite<S> + 'static,
{ // Required method fn build_distributed_replay( clock: RobotClock, unified_logger: Arc<Mutex<L>>, instance_id: u32, config_override: Option<CuConfig>, ) -> Result<Self, CuError> where Self: Sized; }
Expand description

Simulation-enabled applications that can be instantiated for distributed replay.

This extends exact-output replay with the one extra capability the distributed engine needs: build a replayable app for a specific deployment instance_id while keeping app construction type-safe.

Required Methods§

Source

fn build_distributed_replay( clock: RobotClock, unified_logger: Arc<Mutex<L>>, instance_id: u32, config_override: Option<CuConfig>, ) -> Result<Self, CuError>
where Self: Sized,

Build this app for deterministic distributed replay.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§