Enum s2n_quic_core::transmission::mode::Mode
source · pub enum Mode {
LossRecoveryProbing,
MtuProbing,
PathValidationOnly,
Normal,
}
Variants§
LossRecoveryProbing
Loss recovery probing to detect lost packets
MtuProbing
Maximum transmission unit probing to determine the path MTU
PathValidationOnly
Path validation to verify peer address reachability
Normal
Normal transmission
Implementations§
source§impl Mode
impl Mode
sourcepub fn is_loss_recovery_probing(&self) -> bool
pub fn is_loss_recovery_probing(&self) -> bool
Is the transmission a probe for loss recovery
sourcepub fn is_mtu_probing(&self) -> bool
pub fn is_mtu_probing(&self) -> bool
Is the transmission a probe for path maximum transmission unit discovery
sourcepub fn is_path_validation(&self) -> bool
pub fn is_path_validation(&self) -> bool
Is the transmission a probe for path validation
Trait Implementations§
source§impl PartialEq for Mode
impl PartialEq for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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