pub struct DashboardContext {Show 68 fields
pub title: String,
pub export_timestamp: String,
pub total_memory: String,
pub total_allocations: usize,
pub active_allocations: usize,
pub peak_memory: String,
pub thread_count: usize,
pub passport_count: usize,
pub leak_count: usize,
pub unsafe_count: usize,
pub ffi_count: usize,
pub allocations: Vec<AllocationInfo>,
pub relationships: Vec<RelationshipInfo>,
pub unsafe_reports: Vec<UnsafeReport>,
pub passport_details: Vec<PassportDetail>,
pub allocations_count: usize,
pub relationships_count: usize,
pub unsafe_reports_count: usize,
pub json_data: String,
pub os_name: String,
pub architecture: String,
pub cpu_cores: usize,
pub system_resources: SystemResources,
pub threads: Vec<ThreadInfo>,
pub async_tasks: Vec<AsyncTaskInfo>,
pub async_summary: AsyncSummary,
pub health_score: u32,
pub health_status: String,
pub safe_ops_count: usize,
pub high_risk_count: usize,
pub clean_passport_count: usize,
pub active_passport_count: usize,
pub leaked_passport_count: usize,
pub ffi_tracked_count: usize,
pub safe_code_percent: u32,
pub ownership_graph: OwnershipGraphInfo,
pub top_allocation_sites: Vec<TopAllocationSite>,
pub top_leaked_allocations: Vec<TopLeakedAllocation>,
pub top_temporary_churn: Vec<TopTemporaryChurn>,
pub circular_references: CircularReferenceReport,
pub task_graph_json: String,
pub ffi_call_topology: FfiCallTopology,
pub symbol_table: Vec<SymbolTableEntry>,
pub symbol_table_count: usize,
pub stack_integrity: StackIntegrityMetrics,
pub resource_bars: Vec<ResourceUsageBar>,
pub thread_timeline: Vec<ThreadTimelineRow>,
pub thread_timeline_count: usize,
pub waker_efficiency_grid: Vec<f64>,
pub poll_latency_mean_ms: f64,
pub poll_latency_samples: Vec<f64>,
pub task_topology_nodes: Vec<TaskTopologyNode>,
pub task_topology_nodes_count: usize,
pub task_topology_edges: Vec<TaskTopologyEdge>,
pub task_topology_edges_count: usize,
pub streaming_topology_stats: StreamingTopologyStats,
pub trace_logs: Vec<TraceLogEntry>,
pub neighbor_density_histogram: Vec<NeighborDensityBin>,
pub dependency_graph_nodes: Vec<DependencyNode>,
pub selected_node_detail: Option<NodeDetailPanel>,
pub thread_affinity_grid: Vec<String>,
pub scheduler_lag_bars: Vec<f64>,
pub scheduler_lag_ms: u64,
pub migration_rate_pct: f64,
pub system_uptime_formatted: String,
pub thread_event_log: Vec<ThreadEventLogEntry>,
pub thread_policies: Vec<ThreadPolicy>,
pub resource_limits: Vec<ResourceUsageBar>,
}Expand description
Dashboard context for template rendering
Fields§
§title: StringPage title
export_timestamp: StringExport timestamp
total_memory: StringTotal memory allocated (formatted)
total_allocations: usizeTotal number of allocations
active_allocations: usizeNumber of active allocations
peak_memory: StringPeak memory usage (formatted)
thread_count: usizeNumber of threads
passport_count: usizeNumber of memory passports
leak_count: usizeNumber of memory leaks detected
unsafe_count: usizeNumber of unsafe operations
ffi_count: usizeNumber of FFI operations
allocations: Vec<AllocationInfo>Allocation information
relationships: Vec<RelationshipInfo>Variable relationships
unsafe_reports: Vec<UnsafeReport>Unsafe/FFI reports
passport_details: Vec<PassportDetail>Detailed passport information
allocations_count: usizeCount helper for template
relationships_count: usizeCount helper for template
unsafe_reports_count: usizeCount helper for template
json_data: StringJSON data string for injection (performance optimization)
os_name: StringOS name
architecture: StringArchitecture
cpu_cores: usizeCPU cores
system_resources: SystemResourcesSystem resources
threads: Vec<ThreadInfo>Thread analysis data
async_tasks: Vec<AsyncTaskInfo>Async task analysis data
async_summary: AsyncSummaryAsync summary
health_score: u32Health score (0-100)
health_status: StringHealth status text
safe_ops_count: usizeSafe operations count
high_risk_count: usizeHigh risk issues count
clean_passport_count: usizeClean passports count
active_passport_count: usizeActive passports count
leaked_passport_count: usizeLeaked passports count
ffi_tracked_count: usizeFFI tracked passports count
safe_code_percent: u32Safe code percentage
ownership_graph: OwnershipGraphInfoOwnership graph information
top_allocation_sites: Vec<TopAllocationSite>Top N allocation sites
top_leaked_allocations: Vec<TopLeakedAllocation>Top N leaked allocations
top_temporary_churn: Vec<TopTemporaryChurn>Top N temporary churn (short-lived allocations)
circular_references: CircularReferenceReportCircular reference analysis
task_graph_json: StringTask graph JSON string
ffi_call_topology: FfiCallTopologyFFI call mapping topology nodes and edges
symbol_table: Vec<SymbolTableEntry>Symbol table analysis entries
symbol_table_count: usizeSymbol table entry count (template helper, avoids .length in Handlebars)
stack_integrity: StackIntegrityMetricsStack integrity metrics
resource_bars: Vec<ResourceUsageBar>Resource usage bars (bridge pool, serialization overhead)
thread_timeline: Vec<ThreadTimelineRow>Thread execution timeline rows
thread_timeline_count: usizeThread timeline row count (template helper, avoids .length in Handlebars)
waker_efficiency_grid: Vec<f64>Waker efficiency grid (opacity values)
poll_latency_mean_ms: f64Poll latency mean in ms
poll_latency_samples: Vec<f64>Per-task poll latency samples (duration_ms values) for the POLL_LATENCY curve
task_topology_nodes: Vec<TaskTopologyNode>Async task topology nodes
task_topology_nodes_count: usizeAsync task topology node count (template helper, avoids .length in Handlebars)
task_topology_edges: Vec<TaskTopologyEdge>Async task topology edges
task_topology_edges_count: usizeAsync task topology edge count (template helper, avoids .length in Handlebars)
streaming_topology_stats: StreamingTopologyStatsStreaming topology stats
trace_logs: Vec<TraceLogEntry>Trace log entries
neighbor_density_histogram: Vec<NeighborDensityBin>Neighbor density histogram bins
dependency_graph_nodes: Vec<DependencyNode>Dependency graph peripheral nodes
selected_node_detail: Option<NodeDetailPanel>Selected node detail panel data
thread_affinity_grid: Vec<String>Thread affinity hardware grid
scheduler_lag_bars: Vec<f64>Scheduler lag mini bars
scheduler_lag_ms: u64Scheduler lag in ms
migration_rate_pct: f64Migration rate percentage
system_uptime_formatted: StringSystem uptime formatted
thread_event_log: Vec<ThreadEventLogEntry>Thread event log entries
thread_policies: Vec<ThreadPolicy>Thread policy settings
resource_limits: Vec<ResourceUsageBar>Resource limits progress bars
Trait Implementations§
Source§impl Clone for DashboardContext
impl Clone for DashboardContext
Source§fn clone(&self) -> DashboardContext
fn clone(&self) -> DashboardContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DashboardContext
impl Debug for DashboardContext
Source§impl<'de> Deserialize<'de> for DashboardContext
impl<'de> Deserialize<'de> for DashboardContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for DashboardContext
impl RefUnwindSafe for DashboardContext
impl Send for DashboardContext
impl Sync for DashboardContext
impl Unpin for DashboardContext
impl UnsafeUnpin for DashboardContext
impl UnwindSafe for DashboardContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
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>
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