pub enum Experiment {
ResetRetryOnAckUpdate,
ResendOnRrCommand,
}Expand description
A set of experiments to enable on the implementation outside of the official spec.
Variants§
ResetRetryOnAckUpdate
Normally, when an iframe arrives with a new ACK value, that will register the ACK just fine and deliver the data. But it doesn’t cause the retry counter to reset.
So even though both peers may be getting data through and make progress, they may both “give up” and end the connection with a DM.
That kind of makes sense, in that an RR response means “I heard you”. But so does an iframe with a new sequence number.
ResendOnRrCommand
Normally, we only retransmit if we get an RR response. But if we are waiting for an RR response, and we get an RR command, why not issue the retransmit right now.
Trait Implementations§
Source§impl Clone for Experiment
impl Clone for Experiment
Source§fn clone(&self) -> Experiment
fn clone(&self) -> Experiment
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 moreSource§impl Debug for Experiment
impl Debug for Experiment
Source§impl Hash for Experiment
impl Hash for Experiment
Source§impl PartialEq for Experiment
impl PartialEq for Experiment
Source§fn eq(&self, other: &Experiment) -> bool
fn eq(&self, other: &Experiment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ValueEnum for Experiment
impl ValueEnum for Experiment
impl Copy for Experiment
impl Eq for Experiment
impl StructuralPartialEq for Experiment
Auto Trait Implementations§
impl Freeze for Experiment
impl RefUnwindSafe for Experiment
impl Send for Experiment
impl Sync for Experiment
impl Unpin for Experiment
impl UnsafeUnpin for Experiment
impl UnwindSafe for Experiment
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