Skip to main content

PrecompiledExecutorBuilder

Struct PrecompiledExecutorBuilder 

Source
pub struct PrecompiledExecutorBuilder<'a, E: EventStore> { /* private fields */ }
Expand description

Builder for PrecompiledNetExecutor.

Implementations§

Source§

impl<'a, E: EventStore> PrecompiledExecutorBuilder<'a, E>

Source

pub fn event_store(self, store: E) -> Self

Sets the event store.

Source

pub fn environment_places(self, places: HashSet<Arc<str>>) -> Self

Sets the environment places.

Source

pub fn long_running(self, enabled: bool) -> Self

Enables long-running mode.

Source

pub fn skip_output_validation(self, skip: bool) -> Self

Skips output validation for trusted transition actions.

Source

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.