Struct librtraceroute::TraceRoute [−][src]
This struct stores all needed data for performing route tracing task.
Fields
max_ttl: u8
max_tries: u16
begin_ttl: u8
address: IpAddr
port: u16
timeout: u64
size: usize
results_sender: Sender<HopFound>
protocol: TraceRouteProtocol
Implementations
impl TraceRoute
[src]
This block implements TraceRoute struct.
pub fn new(
max_ttl: Option<u8>,
begin_ttl: Option<u8>,
max_tries: Option<u16>,
timeout: Option<u64>,
port: Option<u16>,
size: Option<usize>,
addr: IpAddr,
protocol: Option<TraceRouteProtocol>
) -> TraceRouteRes
[src]
max_ttl: Option<u8>,
begin_ttl: Option<u8>,
max_tries: Option<u16>,
timeout: Option<u64>,
port: Option<u16>,
size: Option<usize>,
addr: IpAddr,
protocol: Option<TraceRouteProtocol>
) -> TraceRouteRes
Creates new TraceRoute and returns TraceRouteRes.
pub fn run_trace_route(&self)
[src]
This function executes route tracing.
Auto Trait Implementations
impl !RefUnwindSafe for TraceRoute
impl Send for TraceRoute
impl !Sync for TraceRoute
impl Unpin for TraceRoute
impl !UnwindSafe for TraceRoute
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,