pub enum Edge {
Direct {
from: String,
to: String,
},
Conditional {
from: String,
router: ConditionalRouter,
},
}Expand description
One edge in the graph.
Variants§
Direct
Static edge: after from completes, activate to in the next
super-step. Multiple Direct edges from the same node activate all
targets in parallel.
Conditional
Dynamic edge: after from completes, evaluate router against the
post-barrier state to decide the next activation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Edge
impl !UnwindSafe for Edge
impl Freeze for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
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