pub struct TracerouteConfig {
pub session_tracker: SessionTracker,
pub origin_id: u32,
pub timeout: u64,
pub max_hops: u32,
pub initial_hop: u32,
pub max_failures: u32,
pub star_unresponsive: bool,
}Expand description
Traceroute configuration
Fields§
§session_tracker: SessionTrackerSession tracker for Trace Tasks
origin_id: u32Origin tracemap seed probes are sent from (anycast-traceroute sessions instead use the origin that caught the discovery reply)
timeout: u64Timeout value for traceroute measurements (default 3s)
max_hops: u32Max hop count for traceroute measurements (default 25)
initial_hop: u32Hop count to start traceroute measurements with (default 4)
max_failures: u32Maximum number of unresponsive hops before terminating the traceroute (default 5; tracemap confirmation window: 3)
star_unresponsive: boolWhether to emit a ‘*’ hop (no reply) to the CLI when a hop times out
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TracerouteConfig
impl RefUnwindSafe for TracerouteConfig
impl Send for TracerouteConfig
impl Sync for TracerouteConfig
impl Unpin for TracerouteConfig
impl UnsafeUnpin for TracerouteConfig
impl UnwindSafe for TracerouteConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].