pub struct TraceOpts {
pub max_hops: u8,
pub timeout_per_hop: Duration,
pub proto: L4Proto,
}Expand description
Options for a traceroute probe.
Fields§
§max_hops: u8Maximum TTL before giving up.
timeout_per_hop: DurationHow long to wait for each hop to respond.
proto: L4ProtoTransport protocol for probes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceOpts
impl<'de> Deserialize<'de> for TraceOpts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for TraceOpts
impl Eq for TraceOpts
impl StructuralPartialEq for TraceOpts
Auto Trait Implementations§
impl Freeze for TraceOpts
impl RefUnwindSafe for TraceOpts
impl Send for TraceOpts
impl Sync for TraceOpts
impl Unpin for TraceOpts
impl UnsafeUnpin for TraceOpts
impl UnwindSafe for TraceOpts
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