Skip to main content

PreparedRealtimeFrameExecutor

Trait PreparedRealtimeFrameExecutor 

Source
pub trait PreparedRealtimeFrameExecutor<B, S, M>
where B: SamplingBackend, S: Sampler<B>,
{ type Error; type Retained; // Required method fn execute( &mut self, model_state: &mut M, temporal: &[B::Token], driver: &mut SequentialDecisionDriver<B, S>, context: &B::Context, ) -> Result<Self::Retained, Self::Error>; }
Expand description

Architecture-owned execution of one already interpreted realtime frame.

Implementations receive only canonical temporal tensors and the existing ordered decision driver. They do not validate host frames, advance the portable schedule, resolve delayed coordinates, or publish state.

Required Associated Types§

Source

type Error

Architecture execution failure.

Source

type Retained

Architecture execution resources retained until exact completion exists.

Required Methods§

Source

fn execute( &mut self, model_state: &mut M, temporal: &[B::Token], driver: &mut SequentialDecisionDriver<B, S>, context: &B::Context, ) -> Result<Self::Retained, Self::Error>

Mutates only the unpublished model-state branch and resolves every decision through driver in architecture order.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§