pub enum SchedulingPolicy {
BestPath,
RoundRobin,
WeightedRoundRobin,
Redundant,
LowestLatency,
}Expand description
Strategy for selecting which path to send a packet on.
Variants§
BestPath
Always use the path with the highest score (bandwidth/latency).
RoundRobin
Round-robin across all active paths.
WeightedRoundRobin
Weighted round-robin — paths with higher bandwidth get more packets.
Redundant
Redundant — send every packet on ALL active paths simultaneously. Highest reliability, highest bandwidth usage.
LowestLatency
Lowest latency — always pick the path with smallest latency_ms.
Trait Implementations§
Source§impl Clone for SchedulingPolicy
impl Clone for SchedulingPolicy
Source§fn clone(&self) -> SchedulingPolicy
fn clone(&self) -> SchedulingPolicy
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 SchedulingPolicy
impl Debug for SchedulingPolicy
Source§impl PartialEq for SchedulingPolicy
impl PartialEq for SchedulingPolicy
impl StructuralPartialEq for SchedulingPolicy
Auto Trait Implementations§
impl Freeze for SchedulingPolicy
impl RefUnwindSafe for SchedulingPolicy
impl Send for SchedulingPolicy
impl Sync for SchedulingPolicy
impl Unpin for SchedulingPolicy
impl UnsafeUnpin for SchedulingPolicy
impl UnwindSafe for SchedulingPolicy
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