Skip to main content

TraceExportOutput

Type Alias TraceExportOutput 

Source
pub type TraceExportOutput = ExportTrace;
Expand description

Concrete export trace output returned by typed programmatic runs.

Aliased Type§

pub struct TraceExportOutput {
    pub file: PathBuf,
    pub export_name: String,
    pub namespace: SemanticNamespace,
    pub file_reachable: bool,
    pub is_entry_point: bool,
    pub is_used: bool,
    pub direct_references: Vec<ExportReference>,
    pub re_export_chains: Vec<ReExportChain>,
    pub reason: String,
    pub semantic: Option<SemanticSymbolTrace>,
}

Fields§

§file: PathBuf

The file containing the export.

§export_name: String

The export name being traced.

§namespace: SemanticNamespace

Namespace selected for this trace. Producers always emit it; the schema permits omission by payloads created before namespaces were exposed.

§file_reachable: bool

Whether the file is reachable from an entry point.

§is_entry_point: bool

Whether the file is an entry point.

§is_used: bool

Whether the export is considered used.

§direct_references: Vec<ExportReference>

Files that reference this export directly.

§re_export_chains: Vec<ReExportChain>

Re-export chains that pass through this export.

§reason: String

Human-readable reason summary.

§semantic: Option<SemanticSymbolTrace>

Exact checker-backed references when type-aware tracing is enabled.