pub enum JoinTrigger {
Input {
index: usize,
value: Box<dyn Any + Send>,
},
}Expand description
Tells the join handler which input produced a value.
Users match on the index (corresponding to .input() call order)
and downcast to recover the typed value.
Variants§
Input
An input at the given index fired with a type-erased value.
Implementations§
Auto Trait Implementations§
impl Freeze for JoinTrigger
impl !RefUnwindSafe for JoinTrigger
impl Send for JoinTrigger
impl !Sync for JoinTrigger
impl Unpin for JoinTrigger
impl UnsafeUnpin for JoinTrigger
impl !UnwindSafe for JoinTrigger
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