Expand description
Stream-level priority scheduler for multiplexed network streams.
Implements multiple scheduling disciplines:
- Strict Priority (SP): highest-priority streams always scheduled first
- Weighted Fair Queuing (WFQ): proportional share based on weight
- Deficit Round Robin (DRR): byte-accurate fairness with deficit counters
- Earliest Deadline First (EDF): deadline-aware scheduling for latency-sensitive flows
- Hierarchical Token Bucket (HTB): hierarchical bandwidth allocation with token buckets
All methods are no_std-friendly (no external crates beyond what’s already in Cargo.toml).
Structs§
- SpsScheduler
Config - Configuration for
StreamPriorityScheduler. - SpsScheduler
Stats - Aggregate scheduling statistics.
- SpsStream
- State tracked for a single multiplexed stream.
- Stream
Priority Scheduler - A stream-level priority scheduler for multiplexed network streams.
Enums§
- SpsError
- Errors returned by
StreamPriorityScheduleroperations. - SpsScheduling
Policy - Scheduling algorithm used by
StreamPriorityScheduler.
Functions§
Type Aliases§
- SpsStream
Id - Unique identifier for a scheduled stream.