pub struct DataflowSolution<N, E, C, S> { /* private fields */ }Expand description
A converged, fully accounted dataflow solution.
Implementations§
Source§impl<N: Ord, E, C, S> DataflowSolution<N, E, C, S>
impl<N: Ord, E, C, S> DataflowSolution<N, E, C, S>
Sourcepub fn states(&self) -> impl ExactSizeIterator<Item = (&N, &S)>
pub fn states(&self) -> impl ExactSizeIterator<Item = (&N, &S)>
Iterates converged states in stable node order.
Sourcepub fn events(&self) -> &[DataflowEvent<N, E, C>]
pub fn events(&self) -> &[DataflowEvent<N, E, C>]
Returns the deterministic visit and propagation sequence.
Sourcepub const fn usage(&self) -> DataflowUsage
pub const fn usage(&self) -> DataflowUsage
Returns exact resource consumption.
Trait Implementations§
impl<N: Eq, E: Eq, C: Eq, S: Eq> Eq for DataflowSolution<N, E, C, S>
Source§impl<N: PartialEq, E: PartialEq, C: PartialEq, S: PartialEq> PartialEq for DataflowSolution<N, E, C, S>
impl<N: PartialEq, E: PartialEq, C: PartialEq, S: PartialEq> PartialEq for DataflowSolution<N, E, C, S>
impl<N: PartialEq, E: PartialEq, C: PartialEq, S: PartialEq> StructuralPartialEq for DataflowSolution<N, E, C, S>
Auto Trait Implementations§
impl<N, E, C, S> Freeze for DataflowSolution<N, E, C, S>
impl<N, E, C, S> RefUnwindSafe for DataflowSolution<N, E, C, S>where
BTreeMap<N, S>: RefUnwindSafe,
Vec<DataflowEvent<N, E, C>>: RefUnwindSafe,
BTreeMap<N, CausalRecord<N, E>>: RefUnwindSafe,
impl<N, E, C, S> Send for DataflowSolution<N, E, C, S>
impl<N, E, C, S> Sync for DataflowSolution<N, E, C, S>
impl<N, E, C, S> Unpin for DataflowSolution<N, E, C, S>
impl<N, E, C, S> UnsafeUnpin for DataflowSolution<N, E, C, S>where
BTreeMap<N, S>: UnsafeUnpin,
Vec<DataflowEvent<N, E, C>>: UnsafeUnpin,
BTreeMap<N, CausalRecord<N, E>>: UnsafeUnpin,
impl<N, E, C, S> UnwindSafe for DataflowSolution<N, E, C, S>where
BTreeMap<N, S>: UnwindSafe,
Vec<DataflowEvent<N, E, C>>: UnwindSafe,
BTreeMap<N, CausalRecord<N, E>>: UnwindSafe,
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