pub struct InlineExecutor { /* private fields */ }Expand description
Real executor that runs Pure stage implementations inline. Handles higher-order stages (map, filter, reduce) by recursively calling itself. Falls back to returning the first example output for unimplemented stages.
Implementations§
Source§impl InlineExecutor
impl InlineExecutor
Sourcepub fn from_store(store: &(impl StageStore + ?Sized)) -> Self
pub fn from_store(store: &(impl StageStore + ?Sized)) -> Self
Build from a store using only the built-in stdlib implementations.
This is the standard constructor. Use Self::from_store_with_registry
if you need to inject additional inline stage implementations.
Sourcepub fn from_store_with_registry(
store: &(impl StageStore + ?Sized),
registry: InlineRegistry,
) -> Self
pub fn from_store_with_registry( store: &(impl StageStore + ?Sized), registry: InlineRegistry, ) -> Self
Build from a store, augmenting the stdlib with the provided registry.
Registered stages take priority over stdlib stages with the same description string, allowing selective overrides.
Sourcepub fn has_implementation(&self, stage_id: &StageId) -> bool
pub fn has_implementation(&self, stage_id: &StageId) -> bool
Check if a stage has a real implementation (not just a fallback).
Trait Implementations§
Source§impl StageExecutor for InlineExecutor
impl StageExecutor for InlineExecutor
Auto Trait Implementations§
impl Freeze for InlineExecutor
impl RefUnwindSafe for InlineExecutor
impl Send for InlineExecutor
impl Sync for InlineExecutor
impl Unpin for InlineExecutor
impl UnsafeUnpin for InlineExecutor
impl UnwindSafe for InlineExecutor
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