Skip to main content

DataflowError

Enum DataflowError 

Source
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: ContinuationFingerprint

Fingerprint category that changed.

§expected: ValueFingerprint

Fingerprint captured by the continuation.

§actual: ValueFingerprint

Fingerprint supplied while resuming.

§

BudgetExceeded

A declared budget was exhausted at a node or edge.

Fields

§kind: BudgetKind

Exhausted core budget class.

§limit: usize

Configured limit.

§attempted: usize

Units that the rejected operation would consume.

§node: Option<N>

Node active at the refusal, when applicable.

§edge: Option<E>

Edge active at the refusal, when applicable.

§location: L

Source/artifact location of node, or the edge predecessor.

§target_location: Option<L>

Edge successor location, when the refusal occurred on an edge.

§

NodeFailure

An admitted transfer violated its contract at a precise node.

Fields

§failure: DataflowFailure

Failed operation.

§node: N

Stable node identity.

§location: L

Consumer-neutral node location.

§

EdgeFailure

A lattice join violated its contract while propagating a precise edge.

Fields

§failure: DataflowFailure

Failed operation.

§edge: E

Stable edge identity.

§location: L

Edge predecessor location in propagation order.

§target_location: L

Edge successor location in propagation order.

Trait Implementations§

Source§

impl<N: Clone, E: Clone, L: Clone> Clone for DataflowError<N, E, L>

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl<N: Debug, E: Debug, L: Debug> Debug for DataflowError<N, E, L>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<N: Eq, E: Eq, L: Eq> Eq for DataflowError<N, E, L>

Source§

impl<N: PartialEq, E: PartialEq, L: PartialEq> PartialEq for DataflowError<N, E, L>

Source§

fn eq(&self, other: &DataflowError<N, E, L>) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

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>
where N: Freeze, L: Freeze, E: Freeze,

§

impl<N, E, L> RefUnwindSafe for DataflowError<N, E, L>

§

impl<N, E, L> Send for DataflowError<N, E, L>
where N: Send, L: Send, E: Send,

§

impl<N, E, L> Sync for DataflowError<N, E, L>
where N: Sync, L: Sync, E: Sync,

§

impl<N, E, L> Unpin for DataflowError<N, E, L>
where N: Unpin, L: Unpin, E: Unpin,

§

impl<N, E, L> UnsafeUnpin for DataflowError<N, E, L>

§

impl<N, E, L> UnwindSafe for DataflowError<N, E, L>
where N: UnwindSafe, L: UnwindSafe, E: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.