pub struct Config {
pub complete_threshold: usize,
pub min_timeout: Duration,
pub https: Config,
}Expand description
Configuration for probing derp map latency.
Fields§
§complete_threshold: usizeThe number of region probes that must succeed for the probe to end.
After complete_threshold and min_timeout are met (or all region probes
complete), the derp map measurement ends.
min_timeout: DurationThe shortest duration for a derp map probe.
After complete_threshold and min_timeout are met (or all region probes
complete), the derp map measurement ends.
https: ConfigConfig for HTTP probes.
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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