pub struct PingChain { /* private fields */ }
Expand description

Ping the same host several times.

Implementations

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.