pub struct Dag<S> {
pub steps: BTreeMap<StepId, S>,
pub edges: HashMap<StepId, Vec<StepId>>,
pub entry: StepId,
}Expand description
Static structure of a workflow. Steps are stored separately from their adjacency to keep the runtime types simple.
Fields§
§steps: BTreeMap<StepId, S>§edges: HashMap<StepId, Vec<StepId>>§entry: StepIdImplementations§
Auto Trait Implementations§
impl<S> Freeze for Dag<S>
impl<S> RefUnwindSafe for Dag<S>where
S: RefUnwindSafe,
impl<S> Send for Dag<S>where
S: Send,
impl<S> Sync for Dag<S>where
S: Sync,
impl<S> Unpin for Dag<S>
impl<S> UnsafeUnpin for Dag<S>
impl<S> UnwindSafe for Dag<S>where
S: RefUnwindSafe,
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