pub enum DefectPhase {
Parse,
Lint,
}Expand description
The pipeline stage a defect belongs to, for downstream phase attribution.
Most defects are found while parsing and resolving the template
(DefectPhase::Parse). Findings produced by whole-template analysis over
the finished model - such as reference-cycle detection - belong to the lint
stage (DefectPhase::Lint). A defect may also leave the phase unset, in
which case downstream enrichment derives it from the rule’s severity.
Variants§
Trait Implementations§
Source§impl Clone for DefectPhase
impl Clone for DefectPhase
Source§fn clone(&self) -> DefectPhase
fn clone(&self) -> DefectPhase
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 Copy for DefectPhase
Source§impl Debug for DefectPhase
impl Debug for DefectPhase
impl Eq for DefectPhase
Source§impl PartialEq for DefectPhase
impl PartialEq for DefectPhase
impl StructuralPartialEq for DefectPhase
Auto Trait Implementations§
impl Freeze for DefectPhase
impl RefUnwindSafe for DefectPhase
impl Send for DefectPhase
impl Sync for DefectPhase
impl Unpin for DefectPhase
impl UnsafeUnpin for DefectPhase
impl UnwindSafe for DefectPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.