#[non_exhaustive]pub enum FallbackReason {
FltReadyTimeout,
TrainingTimeout,
FrlStartTimeout,
RatesExhausted,
RetrainsExhausted,
}Expand description
Why a training attempt ended without a link.
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.
FltReadyTimeout
LTS:2: FLT_ready did not assert within the poll limit.
TrainingTimeout
LTS:3: the lanes did not pass within the poll limit.
FrlStartTimeout
LTS:P: FRL_start did not assert within the poll limit.
RatesExhausted
LTS:4: the sink requested a lower rate than the last one in the list.
RetrainsExhausted
LTS:P: the sink requested retraining (FLT_update) after
TrainingConfig::max_retrains retrains had been used. Also under
FLT_no_timeout, where the poll limits would hold the link instead.
Trait Implementations§
Source§impl Clone for FallbackReason
impl Clone for FallbackReason
Source§fn clone(&self) -> FallbackReason
fn clone(&self) -> FallbackReason
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 FallbackReason
Source§impl Debug for FallbackReason
impl Debug for FallbackReason
impl Eq for FallbackReason
Source§impl PartialEq for FallbackReason
impl PartialEq for FallbackReason
impl StructuralPartialEq for FallbackReason
Auto Trait Implementations§
impl Freeze for FallbackReason
impl RefUnwindSafe for FallbackReason
impl Send for FallbackReason
impl Sync for FallbackReason
impl Unpin for FallbackReason
impl UnsafeUnpin for FallbackReason
impl UnwindSafe for FallbackReason
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