pub struct FlowEngineBuilder { /* private fields */ }Expand description
Builder for a FlowEngine.
Implementations§
Source§impl FlowEngineBuilder
impl FlowEngineBuilder
pub fn new(runtime: Arc<dyn FlowRuntime>) -> Self
pub fn with_store(self, store: Arc<dyn FlowEventStore>) -> Self
pub fn with_observer(self, observer: Arc<dyn FlowEventObserver>) -> Self
pub fn with_max_replay_iterations(self, max_replay_iterations: usize) -> Self
pub fn build(self) -> FlowEngine
Auto Trait Implementations§
impl !RefUnwindSafe for FlowEngineBuilder
impl !UnwindSafe for FlowEngineBuilder
impl Freeze for FlowEngineBuilder
impl Send for FlowEngineBuilder
impl Sync for FlowEngineBuilder
impl Unpin for FlowEngineBuilder
impl UnsafeUnpin for FlowEngineBuilder
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