Struct ekko::Ekko[][src]

pub struct Ekko { /* fields omitted */ }

Implementations

impl Ekko[src]

pub fn with_target<T: Into<SocketAddr>>(target: T) -> 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(
    &self,
    hops: u32,
    timeout: Duration
) -> Result<EkkoResponse, EkkoError>
[src]

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

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

Send echo requests for all hops in range at the same time with a default timeout of 1000 milliseconds. Note that the target may end up being flooded with echo requests if the range is way above the needed hops to reach it!

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

Send echo requests for all hops in range at the same time with specified timeout. Note that the target may end up being flooded with echo requests if the range is way above the needed hops to reach it!

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