pub enum RouterOutput {
Next(Option<String>),
FanOut(Vec<String>),
}Expand description
Router output determines where execution goes next.
Variants§
Next(Option<String>)
Route to a single node, or end execution (None)
FanOut(Vec<String>)
Fan-out to multiple nodes simultaneously
Trait Implementations§
Source§impl Clone for RouterOutput
impl Clone for RouterOutput
Source§fn clone(&self) -> RouterOutput
fn clone(&self) -> RouterOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouterOutput
impl Debug for RouterOutput
impl Eq for RouterOutput
Source§impl From<String> for RouterOutput
impl From<String> for RouterOutput
Source§impl PartialEq for RouterOutput
impl PartialEq for RouterOutput
impl StructuralPartialEq for RouterOutput
Auto Trait Implementations§
impl Freeze for RouterOutput
impl RefUnwindSafe for RouterOutput
impl Send for RouterOutput
impl Sync for RouterOutput
impl Unpin for RouterOutput
impl UnsafeUnpin for RouterOutput
impl UnwindSafe for RouterOutput
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