Struct tokio_ping::Pinger[][src]

pub struct Pinger { /* fields omitted */ }

ICMP packets sender and receiver.

Methods

impl Pinger
[src]

Create new Pinger instance, will fail if unable to create both IPv4 and IPv6 sockets.

Ping the same host several times.

Send ICMP request and wait for response.

Trait Implementations

impl Clone for Pinger
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Pinger

impl Sync for Pinger