#[non_exhaustive]pub enum ProgrammaticEntry {
Show 15 variants
DeadCode,
Duplication,
Health,
FeatureFlags,
List,
TracePath,
TraceChain,
TraceError,
TraceDependency,
DecisionSurface,
Mutation,
SimilarCode,
Doctor,
Combined {
dead_code: bool,
duplication: bool,
health: bool,
production_dead_code: Option<bool>,
production_health: Option<bool>,
production_dupes: Option<bool>,
},
Audit {
dead_code: Option<bool>,
duplication: Option<bool>,
health: Option<bool>,
production: bool,
production_dead_code: Option<bool>,
production_health: Option<bool>,
production_dupes: Option<bool>,
},
}Expand description
The typed runner that starts a run. Each entry maps to one
CommandKind and one SelectionInput.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DeadCode
The dead-code runners: dead code, circular dependencies, boundary violations and architecture.
Duplication
The duplication runner.
Health
The health runner.
FeatureFlags
The feature flags runner.
List
The project info and the boundary list runners.
TracePath
The import path trace.
TraceChain
The export, file and clone traces.
TraceError
The error trace.
TraceDependency
The dependency trace.
DecisionSurface
The decision surface.
Mutation
The mutation runners.
SimilarCode
The similar-code runners.
Doctor
The doctor.
Combined
The combined runner.
Fields
Audit
The audit runner.
Implementations§
Source§impl ProgrammaticEntry
impl ProgrammaticEntry
Sourcepub const fn command(&self) -> CommandKind
pub const fn command(&self) -> CommandKind
The command of the entry.
Sourcepub const fn selection(&self) -> SelectionInput
pub const fn selection(&self) -> SelectionInput
How the entry selects its analyses.
Trait Implementations§
Source§impl Clone for ProgrammaticEntry
impl Clone for ProgrammaticEntry
Auto Trait Implementations§
impl Forget for ProgrammaticEntry
impl Freeze for ProgrammaticEntry
impl Move for ProgrammaticEntry
impl RefUnwindSafe for ProgrammaticEntry
impl Send for ProgrammaticEntry
impl Sync for ProgrammaticEntry
impl Unpin for ProgrammaticEntry
impl UnsafeUnpin for ProgrammaticEntry
impl UnwindSafe for ProgrammaticEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more