pub struct ProbeOptions {
pub timeout: Duration,
pub preference_window: Duration,
}Expand description
Probe timing.
Fields§
§timeout: DurationOverall deadline.
preference_window: DurationHow long a success waits for a more preferred candidate that is still pending. Keeps LAN ahead of a public address that happens to answer a few ms sooner.
Trait Implementations§
Source§impl Clone for ProbeOptions
impl Clone for ProbeOptions
impl Copy for ProbeOptions
Source§impl Debug for ProbeOptions
impl Debug for ProbeOptions
Source§impl Default for ProbeOptions
impl Default for ProbeOptions
impl Eq for ProbeOptions
Source§impl PartialEq for ProbeOptions
impl PartialEq for ProbeOptions
impl StructuralPartialEq for ProbeOptions
Auto Trait Implementations§
impl Forget for ProbeOptions
impl Freeze for ProbeOptions
impl Move for ProbeOptions
impl RefUnwindSafe for ProbeOptions
impl Send for ProbeOptions
impl Sync for ProbeOptions
impl Unpin for ProbeOptions
impl UnsafeUnpin for ProbeOptions
impl UnwindSafe for ProbeOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.