struct Bdp {
    bdp: u32,
    max_bandwidth: f64,
    rtt: f64,
    ping_delay: Duration,
    stable_count: u32,
}Fields§
§bdp: u32Current BDP in bytes
max_bandwidth: f64Largest bandwidth we’ve seen so far.
rtt: f64Round trip time in seconds
ping_delay: DurationDelay the next ping by this amount.
This will change depending on how stable the current bandwidth is.
stable_count: u32The count of ping round trips where BDP has stayed the same.
Implementations§
Auto Trait Implementations§
impl Freeze for Bdp
impl RefUnwindSafe for Bdp
impl Send for Bdp
impl Sync for Bdp
impl Unpin for Bdp
impl UnwindSafe for Bdp
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