pub struct Edge {
pub from: Arc<dyn Node>,
pub to: Arc<dyn Node>,
pub route: Option<Arc<dyn Route>>,
}Expand description
A directed connection between nodes in the workflow graph.
Fields§
§from: Arc<dyn Node>The source node.
to: Arc<dyn Node>The target node.
route: Option<Arc<dyn Route>>Routing condition; None makes the edge unconditional.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Edge
impl !UnwindSafe for Edge
impl Forget for Edge
impl Freeze for Edge
impl Move for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edgewhere
*const ArcInner<dyn Node> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Node>>: UnsafeUnpin,
*const ArcInner<dyn Route> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Route>>: UnsafeUnpin,
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