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]
&self,
probe: &Probe,
ttl: u8,
expiry: Duration
) -> Result<Node>
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]
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>,