Struct netdiag::trace::Tracer[][src]

pub struct Tracer { /* fields omitted */ }

Implementations

impl Tracer[src]

pub async fn new(bind: &Bind) -> Result<Self>[src]

pub async fn route(&self, trace: Trace) -> Result<Vec<Vec<Node>>>[src]

pub async fn probe(
    &self,
    probe: &Probe,
    ttl: u8,
    expiry: Duration
) -> Result<Node>
[src]

pub async fn send(&self, probe: &Probe, ttl: u8) -> Result<Instant>[src]

pub async fn source(&self, dst: IpAddr) -> Result<IpAddr>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Tracer

impl Send for Tracer

impl Sync for Tracer

impl Unpin for Tracer

impl !UnwindSafe for Tracer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,