Skip to main content

SerialRealizer

Trait SerialRealizer 

Source
pub trait SerialRealizer: Send + Sync {
    // Required methods
    fn id(&self) -> &RealizerId;
    fn realize(
        &self,
        plan: &SerialPlan,
        context: &RealizationContext,
    ) -> Result<SerialRealization, StrictRealizationError>;
}
Expand description

Open serial realizer component registered by stable id.

Required Methods§

Source

fn id(&self) -> &RealizerId

Returns the stable realizer identity.

Source

fn realize( &self, plan: &SerialPlan, context: &RealizationContext, ) -> Result<SerialRealization, StrictRealizationError>

Realizes one immutable serial plan using the supplied context.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§