Struct ekko::Ekko [−][src]
pub struct Ekko { /* fields omitted */ }
Implementations
impl Ekko
[src]
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]
&self,
hops: u32,
timeout: Duration
) -> Result<EkkoResponse, EkkoError>
Send an echo request with or with a specified timeout ..
pub fn send_range(
&self,
hops: Range<u32>
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]
&self,
hops: Range<u32>
) -> Result<Vec<EkkoResponse>, EkkoError>
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]
&self,
hops: Range<u32>,
timeout: Duration
) -> Result<Vec<EkkoResponse>, EkkoError>
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 RefUnwindSafe for Ekko
impl UnwindSafe for Ekko
impl UnwindSafe for Ekko