Struct ekko::Ekko [−][src]
pub struct Ekko { /* fields omitted */ }
Implementations
Build a sender with given target address.
Send an echo request with a default timeout of 1 second.
pub fn send_with_timeout(
&self,
hops: u32,
timeout: Duration
) -> Result<EkkoResponse, EkkoError>
[src]
pub fn send_with_timeout(
&self,
hops: u32,
timeout: Duration
) -> Result<EkkoResponse, EkkoError>
[src]Send an echo request with or with the specified timeout.
Send echo requests for all hops in range at the same time with a default timeout of 1 second.
pub fn send_range_with_timeout(
&self,
hops: Range<u32>,
timeout: Duration
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]
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 the specified timeout and a random identifier.
pub fn send_range_with_identifier(
&self,
hops: Range<u32>,
identifier: u16
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]
pub fn send_range_with_identifier(
&self,
hops: Range<u32>,
identifier: u16
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]Send echo requests for all hops in range at the same time with the specified identifier and a default timeout of 1 second.
pub fn send_range_with_identifier_and_timeout(
&self,
hops: Range<u32>,
identifier: u16,
timeout: Duration
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]
pub fn send_range_with_identifier_and_timeout(
&self,
hops: Range<u32>,
identifier: u16,
timeout: Duration
) -> Result<Vec<EkkoResponse>, EkkoError>
[src]Send echo requests for all hops in range at the same time with specified identifier and timeout.
Auto Trait Implementations
impl RefUnwindSafe for Ekko
impl UnwindSafe for Ekko