pub enum EcnState {
Initiating,
Active,
Fallback,
Failed {
retry_at: Instant,
},
Disabled,
}Expand description
Where a stream is in RFC 6679’s procedure.
Variants§
Initiating
Section 7.2.1: a fraction of the packets are probes sent ECT.
Active
Section 7.3.1: every packet is sent ECT.
Fallback
Section 7.4.1: ECT-marked packets were lost at a high rate; packets go out Not-ECT to see whether the loss goes with the marking.
Failed
The path does not carry ECN; nothing is marked until retry_at.
Disabled
ECN is off for the stream for good (section 7.4.1).
Trait Implementations§
impl Copy for EcnState
impl Eq for EcnState
impl StructuralPartialEq for EcnState
Auto Trait Implementations§
impl Forget for EcnState
impl Freeze for EcnState
impl Move for EcnState
impl RefUnwindSafe for EcnState
impl Send for EcnState
impl Sync for EcnState
impl Unpin for EcnState
impl UnsafeUnpin for EcnState
impl UnwindSafe for EcnState
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