pub struct PingWindow { /* private fields */ }
Expand description
Set of recent N ping intervals.
Implementations§
Source§impl PingWindow
impl PingWindow
Sourcepub fn normal_dist(&self) -> NormalDist
pub fn normal_dist(&self) -> NormalDist
Make the current normal distribution based on the ping history.
Auto Trait Implementations§
impl Freeze for PingWindow
impl RefUnwindSafe for PingWindow
impl Send for PingWindow
impl Sync for PingWindow
impl Unpin for PingWindow
impl UnwindSafe for PingWindow
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