Skip to main content

optirs_core/streaming/
realtimeconfig_traits.rs

1//! # RealTimeConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `RealTimeConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::{InterruptStrategy, RealTimeConfig};
12
13impl Default for RealTimeConfig {
14    fn default() -> Self {
15        Self {
16            scheduling_priority: 50,
17            cpu_affinity: None,
18            memory_preallocation_mb: 64,
19            numa_optimization: true,
20            deadline_us: 10000,
21            lock_free_structures: true,
22            interrupt_strategy: InterruptStrategy::Deferred,
23        }
24    }
25}