#[non_exhaustive]pub enum EcnFailure {
ProbeArrivedNotEct,
NoProbeArrived,
FieldCleared,
ProbesCountedNotEct,
NoEcnReport,
NoReception,
EctLost {
disabled: bool,
},
}Expand description
An ECN failure a stream’s validation detected (RFC 6679 sections 7.2.1 and 7.4.2: detected
failures and erroneous behaviour “should” be logged “to enable follow up”). Each is logged
and kept for the application (EcnValidation::take_failures).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ProbeArrivedNotEct
Initiation failed: an ECT probe was reported arriving Not-ECT.
NoProbeArrived
Initiation failed: no ECT probe arrived.
FieldCleared
Initiation failed: the path clears the ECN field.
ProbesCountedNotEct
Initiation failed: the receiver’s counters counted the ECT probes as Not-ECT.
NoEcnReport
Initiation failed: a receiver reported more than three probes in a reception report without an ECN report (section 7.2.1).
NoReception
Leap of faith failed: two receiver reports in a row showed no reception of the stream (section 7.2.3).
EctLost
After initiation, ECT packets were lost where Not-ECT ones were not (section 7.4.2):
the stream falls back and initiates again, or, disabled, ECN stays off for it.
Implementations§
Source§impl EcnFailure
impl EcnFailure
Sourcepub fn is_initiation_failure(&self) -> bool
pub fn is_initiation_failure(&self) -> bool
Whether this ends an initiation (section 7.2.1), as against a failure after one.