pub struct AnalysisSessionArtifacts {
pub analysis: DeadCodeAnalysisArtifacts,
pub changed_files: Option<FxHashSet<PathBuf>>,
pub source_fingerprints: FxHashMap<PathBuf, SourceFingerprint>,
}Expand description
Reusable artifacts produced by one session-owned dead-code run.
Fields§
§analysis: DeadCodeAnalysisArtifactsRetained dead-code analysis output (results, graph, timings).
changed_files: Option<FxHashSet<PathBuf>>Diff scope the run was limited to, when one was resolved.
source_fingerprints: FxHashMap<PathBuf, SourceFingerprint>Per-file source fingerprints for downstream cache invalidation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnalysisSessionArtifacts
impl RefUnwindSafe for AnalysisSessionArtifacts
impl Send for AnalysisSessionArtifacts
impl Sync for AnalysisSessionArtifacts
impl Unpin for AnalysisSessionArtifacts
impl UnsafeUnpin for AnalysisSessionArtifacts
impl UnwindSafe for AnalysisSessionArtifacts
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> 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