Struct tokio_ping::PingChain[][src]

pub struct PingChain { /* fields omitted */ }

Ping the same host several times.

Methods

impl PingChain
[src]

Set ICMP ident. Default value is randomized.

Set ICMP seq_cnt, this value will be incremented by one for every send. Default value is 0.

Set ping timeout. Default timeout is two seconds.

Send ICMP request and wait for response.

Create infinite stream of ping response times.

Auto Trait Implementations

impl Send for PingChain

impl Sync for PingChain