send_ping_async

Function send_ping_async 

Source
pub async fn send_ping_async(
    addr: &IpAddr,
    timeout: Duration,
    data: Arc<&[u8]>,
    options: Option<&PingOptions>,
) -> PingApiOutput
Expand description

Asynchronously schedule ICMP Echo package (ping) to the given address. Note that some parameter signatures are different from send_ping function, as the caller should manage those parameters’ lifetime.