pub enum DataflowError<N, E, L> {
UnknownSeed(N),
ContinuationMismatch {
changed: ContinuationFingerprint,
expected: ValueFingerprint,
actual: ValueFingerprint,
},
BudgetExceeded {
kind: BudgetKind,
limit: usize,
attempted: usize,
node: Option<N>,
edge: Option<E>,
location: L,
target_location: Option<L>,
},
NodeFailure {
failure: DataflowFailure,
node: N,
location: L,
},
EdgeFailure {
failure: DataflowFailure,
edge: E,
location: L,
target_location: L,
},
}Expand description
A located fixpoint refusal.
Variants§
UnknownSeed(N)
A seed names no node in the immutable graph.
ContinuationMismatch
A continuation was presented to inputs other than the ones it captured.
Fields
§
changed: ContinuationFingerprintFingerprint category that changed.
§
expected: ValueFingerprintFingerprint captured by the continuation.
§
actual: ValueFingerprintFingerprint supplied while resuming.
BudgetExceeded
A declared budget was exhausted at a node or edge.
Fields
§
kind: BudgetKindExhausted core budget class.
§
location: LSource/artifact location of node, or the edge predecessor.
NodeFailure
An admitted transfer violated its contract at a precise node.
Fields
§
failure: DataflowFailureFailed operation.
§
node: NStable node identity.
§
location: LConsumer-neutral node location.
EdgeFailure
A lattice join violated its contract while propagating a precise edge.
Fields
§
failure: DataflowFailureFailed operation.
§
edge: EStable edge identity.
§
location: LEdge predecessor location in propagation order.
§
target_location: LEdge successor location in propagation order.
Trait Implementations§
Source§impl<N: Clone, E: Clone, L: Clone> Clone for DataflowError<N, E, L>
impl<N: Clone, E: Clone, L: Clone> Clone for DataflowError<N, E, L>
Source§fn clone(&self) -> DataflowError<N, E, L>
fn clone(&self) -> DataflowError<N, E, L>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<N: Eq, E: Eq, L: Eq> Eq for DataflowError<N, E, L>
impl<N: PartialEq, E: PartialEq, L: PartialEq> StructuralPartialEq for DataflowError<N, E, L>
Auto Trait Implementations§
impl<N, E, L> Freeze for DataflowError<N, E, L>
impl<N, E, L> RefUnwindSafe for DataflowError<N, E, L>
impl<N, E, L> Send for DataflowError<N, E, L>
impl<N, E, L> Sync for DataflowError<N, E, L>
impl<N, E, L> Unpin for DataflowError<N, E, L>
impl<N, E, L> UnsafeUnpin for DataflowError<N, E, L>
impl<N, E, L> UnwindSafe for DataflowError<N, E, L>
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