#[non_exhaustive]pub enum RoutingPhase {
ScoreUpdated,
Selected,
Switched,
Escalated,
}Expand description
Which kind of routing decision this record describes.
#[non_exhaustive] so new phases can be added without a breaking-change bump.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ScoreUpdated
DORS recomputed per-transport scores without switching.
Selected
DORS picked a transport (initial selection or post-switch).
Switched
DORS changed the active transport.
Escalated
BLE→WiFi escalation triggered or applied.
Trait Implementations§
Source§impl Clone for RoutingPhase
impl Clone for RoutingPhase
Source§fn clone(&self) -> RoutingPhase
fn clone(&self) -> RoutingPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RoutingPhase
Source§impl Debug for RoutingPhase
impl Debug for RoutingPhase
impl Eq for RoutingPhase
Source§impl PartialEq for RoutingPhase
impl PartialEq for RoutingPhase
impl StructuralPartialEq for RoutingPhase
Auto Trait Implementations§
impl Freeze for RoutingPhase
impl RefUnwindSafe for RoutingPhase
impl Send for RoutingPhase
impl Sync for RoutingPhase
impl Unpin for RoutingPhase
impl UnsafeUnpin for RoutingPhase
impl UnwindSafe for RoutingPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more