Module types

Source
Expand description

Core types and error handling for the memscope-rs library.

Structs§

AllocationInfo
Enhanced information about a memory allocation with lifecycle tracking
HotspotInfo
Allocation hotspot information
LifecyclePercentiles
Lifecycle percentile statistics
LifecycleStats
Enhanced lifecycle statistics for memory allocations per lifecycle.md specification
MemoryStats
Memory usage statistics
RiskDistribution
Risk classification distribution for memory allocations
ScopeLifecycleMetrics
Scope-based lifecycle metrics
TypeLifecyclePattern
Type-specific lifecycle patterns
TypeLifecycleStats
Lifecycle statistics by type
TypeMemoryUsage
Memory usage by type

Enums§

LifecycleCategory
Categories for lifecycle duration
OwnershipPattern
Ownership patterns for variables
RiskLevel
Risk levels for memory allocations
TrackingError
Error type for memory tracking operations

Type Aliases§

TrackingResult
Result type for tracking operations