pub struct JoinStateBuilder<O, S, R: Spawn + 'static> { /* private fields */ }Expand description
Intermediate builder for setting the join trigger handler.
Implementations§
Source§impl<O, S, R> JoinStateBuilder<O, S, R>
impl<O, S, R> JoinStateBuilder<O, S, R>
Sourcepub fn on_trigger<F, Fut>(self, handler: F) -> JoinPipeline<O, R>
pub fn on_trigger<F, Fut>(self, handler: F) -> JoinPipeline<O, R>
Async handler called whenever any input produces a value.
Receives a JoinTrigger (with index + typed value), mutable state,
and a Producer<O, R> for emitting output values.
Auto Trait Implementations§
impl<O, S, R> Freeze for JoinStateBuilder<O, S, R>where
S: Freeze,
impl<O, S, R> !RefUnwindSafe for JoinStateBuilder<O, S, R>
impl<O, S, R> Send for JoinStateBuilder<O, S, R>
impl<O, S, R> Sync for JoinStateBuilder<O, S, R>
impl<O, S, R> Unpin for JoinStateBuilder<O, S, R>
impl<O, S, R> UnsafeUnpin for JoinStateBuilder<O, S, R>where
S: UnsafeUnpin,
impl<O, S, R> !UnwindSafe for JoinStateBuilder<O, S, R>
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