pub struct LossDetector {
pub loss_detection_timer: u64,
pub pto_count: u32,
pub time_of_last_ack_eliciting: [u64; 3],
}Expand description
Loss detection state for a connection.
Fields§
§loss_detection_timer: u64Loss detection timer expiry (microseconds, 0 = not set)
pto_count: u32PTO count (doubles on each consecutive PTO)
time_of_last_ack_eliciting: [u64; 3]Time of last ack-eliciting packet sent (per space)
Implementations§
Source§impl LossDetector
impl LossDetector
Trait Implementations§
Source§impl Clone for LossDetector
impl Clone for LossDetector
Source§fn clone(&self) -> LossDetector
fn clone(&self) -> LossDetector
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LossDetector
impl Debug for LossDetector
Auto Trait Implementations§
impl Freeze for LossDetector
impl RefUnwindSafe for LossDetector
impl Send for LossDetector
impl Sync for LossDetector
impl Unpin for LossDetector
impl UnwindSafe for LossDetector
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)