pub struct PrecompiledExecutorBuilder<'a, E: EventStore> { /* private fields */ }Expand description
Builder for PrecompiledNetExecutor.
Implementations§
Source§impl<'a, E: EventStore> PrecompiledExecutorBuilder<'a, E>
impl<'a, E: EventStore> PrecompiledExecutorBuilder<'a, E>
Sourcepub fn event_store(self, store: E) -> Self
pub fn event_store(self, store: E) -> Self
Sets the event store.
Sourcepub fn environment_places(self, places: HashSet<Arc<str>>) -> Self
pub fn environment_places(self, places: HashSet<Arc<str>>) -> Self
Sets the environment places.
Sourcepub fn long_running(self, enabled: bool) -> Self
pub fn long_running(self, enabled: bool) -> Self
Enables long-running mode.
Sourcepub fn skip_output_validation(self, skip: bool) -> Self
pub fn skip_output_validation(self, skip: bool) -> Self
Skips output validation for trusted transition actions.
Sourcepub fn build(self) -> PrecompiledNetExecutor<'a, E>
pub fn build(self) -> PrecompiledNetExecutor<'a, E>
Builds the executor.
Auto Trait Implementations§
impl<'a, E> Freeze for PrecompiledExecutorBuilder<'a, E>where
E: Freeze,
impl<'a, E> !RefUnwindSafe for PrecompiledExecutorBuilder<'a, E>
impl<'a, E> Send for PrecompiledExecutorBuilder<'a, E>
impl<'a, E> Sync for PrecompiledExecutorBuilder<'a, E>where
E: Sync,
impl<'a, E> Unpin for PrecompiledExecutorBuilder<'a, E>where
E: Unpin,
impl<'a, E> UnsafeUnpin for PrecompiledExecutorBuilder<'a, E>where
E: UnsafeUnpin,
impl<'a, E> !UnwindSafe for PrecompiledExecutorBuilder<'a, E>
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