pub struct OwnedExecutor<H: NodeHandler> { /* private fields */ }Expand description
Owned executor that can be reused across runs without leaking the plan.
Implementations§
Source§impl<H: NodeHandler> OwnedExecutor<H>
impl<H: NodeHandler> OwnedExecutor<H>
pub fn new(plan: Arc<RuntimePlan>, handler: H) -> Self
Sourcepub fn with_const_coercers(self, coercers: ConstCoercerMap) -> Self
pub fn with_const_coercers(self, coercers: ConstCoercerMap) -> Self
Provide a shared constant coercer registry (used by dynamic plugins).
Sourcepub fn with_output_movers(self, movers: OutputMoverMap) -> Self
pub fn with_output_movers(self, movers: OutputMoverMap) -> Self
Provide a shared output mover registry (used by dynamic plugins).
pub fn with_state(self, state: StateStore) -> Self
pub fn without_gpu(self) -> Self
pub fn with_pool_size(self, size: Option<usize>) -> Self
pub fn with_host_bridges(self, mgr: HostBridgeManager) -> Self
pub fn reset(&mut self)
pub fn run_in_place(&mut self) -> Result<ExecutionTelemetry, ExecuteError>
pub fn run_parallel_in_place( &mut self, ) -> Result<ExecutionTelemetry, ExecuteError>
Auto Trait Implementations§
impl<H> Freeze for OwnedExecutor<H>
impl<H> RefUnwindSafe for OwnedExecutor<H>where
H: RefUnwindSafe,
impl<H> Send for OwnedExecutor<H>
impl<H> Sync for OwnedExecutor<H>
impl<H> Unpin for OwnedExecutor<H>
impl<H> UnwindSafe for OwnedExecutor<H>where
H: RefUnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more