use super::types::{
AdvancedQoSConfig, QoSMetric, ResourceReservationStrategy, ServiceLevelObjective,
};
impl Default for AdvancedQoSConfig {
fn default() -> Self {
Self {
strict_latency_bounds: true,
quality_degradation_tolerance: 0.05,
resource_reservation: ResourceReservationStrategy::Adaptive,
adaptive_adjustment: true,
priority_scheduling: true,
service_level_objectives: vec![
ServiceLevelObjective {
metric: QoSMetric::Latency,
target_value: 10.0,
tolerance: 0.1,
},
ServiceLevelObjective {
metric: QoSMetric::Throughput,
target_value: 1000.0,
tolerance: 0.05,
},
],
}
}
}