Struct ekko::Ekko[][src]

pub struct Ekko { /* fields omitted */ }

Implementations

impl Ekko[src]

pub fn with_target(target: &str) -> Result<Ekko, EkkoError>[src]

Build a sender with given target address ..

pub fn send(&mut self, hops: u32) -> Result<EkkoResponse, EkkoError>[src]

Send an echo request with a default timeout of 1000 milliseconds ..

pub fn send_with_timeout(
    &mut self,
    hops: u32,
    timeout: Duration
) -> Result<EkkoResponse, EkkoError>
[src]

Send an echo request with or with a specified timeout ..

pub fn trace(
    &mut self,
    hops: Range<u32>
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]

Trace route with a default timeout of 1000 milliseconds ..

pub fn trace_with_timeout(
    &mut self,
    hops: Range<u32>,
    timeout: Duration
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]

Trace route with specified timeout ..

Auto Trait Implementations

impl RefUnwindSafe for Ekko

impl Send for Ekko

impl Sync for Ekko

impl Unpin for Ekko

impl UnwindSafe for Ekko

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>,