pub enum LineageError<N> {
Cycle {
path: Vec<N>,
},
ConflictingPrecedence {
parents: (N, N),
constraint: PrecedenceConstraint<N>,
},
NodeBudgetExhausted {
limit: usize,
required: usize,
},
WorkBudgetExhausted {
limit: usize,
performed: usize,
},
}Expand description
Exact, inspectable failure evidence from a lineage policy.
Variants§
Trait Implementations§
Source§impl<N: Clone> Clone for LineageError<N>
impl<N: Clone> Clone for LineageError<N>
Source§fn clone(&self) -> LineageError<N>
fn clone(&self) -> LineageError<N>
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 moreSource§impl<N: Debug> Debug for LineageError<N>
impl<N: Debug> Debug for LineageError<N>
impl<N: Eq> Eq for LineageError<N>
Source§impl<N: PartialEq> PartialEq for LineageError<N>
impl<N: PartialEq> PartialEq for LineageError<N>
impl<N: PartialEq> StructuralPartialEq for LineageError<N>
Auto Trait Implementations§
impl<N> Freeze for LineageError<N>where
N: Freeze,
impl<N> RefUnwindSafe for LineageError<N>where
N: RefUnwindSafe,
impl<N> Send for LineageError<N>where
N: Send,
impl<N> Sync for LineageError<N>where
N: Sync,
impl<N> Unpin for LineageError<N>where
N: Unpin,
impl<N> UnsafeUnpin for LineageError<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for LineageError<N>where
N: 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