pub enum TraceOutput {
Export(Box<ExportTrace>),
ClassMember(Box<ClassMemberTrace>),
File(Box<FileTrace>),
Dependency(Box<DependencyTrace>),
Clone(Box<CloneTrace>),
ImpactClosure(Box<ImpactClosureTrace>),
ImportPath(Box<ImportPathTrace>),
SymbolChain(Box<SymbolChainTrace>),
SemanticSymbol(Box<SemanticSymbolTrace>),
}Expand description
Union of every fallow trace payload shape.
Serialized untagged: the JSON body is exactly one of the trace shapes with no discriminant field, so consumers dispatch on structure.
Variants§
Export(Box<ExportTrace>)
Trace of a single export’s usage.
ClassMember(Box<ClassMemberTrace>)
Trace of a single class member’s usage.
File(Box<FileTrace>)
Trace of a file’s reachability.
Dependency(Box<DependencyTrace>)
Trace of a dependency’s usage.
Clone(Box<CloneTrace>)
Trace of a clone group’s instances.
ImpactClosure(Box<ImpactClosureTrace>)
Transitive impact closure for a changed file set.
ImportPath(Box<ImportPathTrace>)
Shortest import path between two modules.
SymbolChain(Box<SymbolChainTrace>)
Symbol-level call chain trace.
SemanticSymbol(Box<SemanticSymbolTrace>)
Type-aware semantic symbol trace.
Trait Implementations§
Source§impl Debug for TraceOutput
impl Debug for TraceOutput
Auto Trait Implementations§
impl Freeze for TraceOutput
impl RefUnwindSafe for TraceOutput
impl Send for TraceOutput
impl Sync for TraceOutput
impl Unpin for TraceOutput
impl UnsafeUnpin for TraceOutput
impl UnwindSafe for TraceOutput
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