pub enum FanIn {
Concat {
separator: String,
},
FirstSuccess,
JsonArray,
Custom,
}Expand description
Fan-in strategy - how to aggregate parallel results
Variants§
Concat
Wait for all, concatenate results
FirstSuccess
Wait for first success
JsonArray
Wait for all, return as JSON array
Custom
Custom aggregation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FanIn
impl RefUnwindSafe for FanIn
impl Send for FanIn
impl Sync for FanIn
impl Unpin for FanIn
impl UnsafeUnpin for FanIn
impl UnwindSafe for FanIn
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