Module stream_context

Module stream_context 

Source
Expand description

Stream context separation - Config vs Session state

Separates configuration (static) from session state (dynamic runtime data) following the principle of separating concerns and improving performance.

Re-exports§

pub use super::prioritization_service::PrioritizationStrategy;

Structs§

AdaptiveAdjustment
Record of adaptive adjustments made during session
StreamConfig
Static configuration for streaming operations This should be immutable after creation and can be shared across sessions
StreamContext
Combined context that references both config and session This provides a unified interface while keeping concerns separated
StreamSession
Dynamic session state tracking runtime metrics and performance This data changes frequently during a session’s lifetime

Enums§

AdjustmentType
PerformanceTrend
Performance trend analysis