pub enum EdgeType {
Normal(String),
Conditional(Box<dyn RoutingFunction>),
}Expand description
Type of edge in the graph
Variants§
Normal(String)
Normal edge: always goes to specified node
Conditional(Box<dyn RoutingFunction>)
Conditional edge: calls router to determine next node
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EdgeType
impl !UnwindSafe for EdgeType
impl Freeze for EdgeType
impl Send for EdgeType
impl Sync for EdgeType
impl Unpin for EdgeType
impl UnsafeUnpin for EdgeType
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