pub enum IssuePattern {
Show 17 variants
    TransformNaN {
        entity_id: u32,
        component: String,
        values: Vec<f32>,
    },
    MemoryLeak {
        rate_mb_per_sec: f32,
        total_leaked_mb: f32,
        suspected_source: String,
    },
    RenderingStall {
        duration_ms: f32,
        frame_number: u64,
        gpu_wait_time_ms: f32,
    },
    EntityExplosion {
        growth_rate: f32,
        current_count: usize,
        time_window_sec: f32,
    },
    SystemOverrun {
        system_name: String,
        execution_time_ms: f32,
        budget_ms: f32,
    },
    ComponentThrashing {
        entity_id: u32,
        component_type: String,
        changes_per_second: f32,
    },
    ResourceContention {
        resource_name: String,
        wait_time_ms: f32,
        contending_systems: Vec<String>,
    },
    FrameSpike {
        frame_time_ms: f32,
        average_frame_time_ms: f32,
        spike_ratio: f32,
    },
    AssetLoadFailure {
        asset_path: String,
        error_message: String,
        retry_count: u32,
    },
    PhysicsInstability {
        entity_id: u32,
        velocity_magnitude: f32,
        position_delta: f32,
    },
    RenderQueueOverflow {
        queue_size: usize,
        max_capacity: usize,
        dropped_items: usize,
    },
    EventQueueBackup {
        event_type: String,
        queue_depth: usize,
        processing_rate: f32,
    },
    TextureMemoryExhaustion {
        used_mb: f32,
        available_mb: f32,
        largest_texture_mb: f32,
    },
    QueryPerformanceDegradation {
        query_description: String,
        execution_time_ms: f32,
        entity_count: usize,
    },
    StateTransitionLoop {
        states: Vec<String>,
        transition_count: usize,
        time_window_sec: f32,
    },
    AudioBufferUnderrun {
        underrun_count: u32,
        buffer_size: usize,
        sample_rate: u32,
    },
    NetworkLatencySpike {
        latency_ms: f32,
        average_latency_ms: f32,
        packet_loss_percent: f32,
    },
}Expand description
Common issue patterns that can be detected
Variants§
TransformNaN
Transform contains NaN values
MemoryLeak
Memory leak detected
RenderingStall
Rendering stall detected
EntityExplosion
Entity count growing exponentially
SystemOverrun
System execution taking too long
ComponentThrashing
Excessive component additions/removals
ResourceContention
Resource contention detected
FrameSpike
Frame time spike
AssetLoadFailure
Asset loading failure
PhysicsInstability
Physics instability
RenderQueueOverflow
Render queue overflow
EventQueueBackup
Event queue backup
TextureMemoryExhaustion
Texture memory exhaustion
QueryPerformanceDegradation
Query performance degradation
StateTransitionLoop
State transition loop
AudioBufferUnderrun
Audio buffer underrun
NetworkLatencySpike
Network latency spike
Implementations§
Source§impl IssuePattern
 
impl IssuePattern
Sourcepub fn severity(&self) -> IssueSeverity
 
pub fn severity(&self) -> IssueSeverity
Get the severity of this issue pattern
Sourcepub fn pattern_id(&self) -> String
 
pub fn pattern_id(&self) -> String
Get a unique identifier for this issue pattern
Trait Implementations§
Source§impl Clone for IssuePattern
 
impl Clone for IssuePattern
Source§fn clone(&self) -> IssuePattern
 
fn clone(&self) -> IssuePattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for IssuePattern
 
impl Debug for IssuePattern
Source§impl<'de> Deserialize<'de> for IssuePattern
 
impl<'de> Deserialize<'de> for IssuePattern
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IssuePattern
impl RefUnwindSafe for IssuePattern
impl Send for IssuePattern
impl Sync for IssuePattern
impl Unpin for IssuePattern
impl UnwindSafe for IssuePattern
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
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