Struct surge_ping::Pinger
source · [−]pub struct Pinger {
pub destination: IpAddr,
pub ident: u16,
pub size: usize,
/* private fields */
}Expand description
A Ping struct represents the state of one particular ping instance.
Fields
destination: IpAddrident: u16size: usizeImplementations
The timeout of each Ping, in seconds. (default: 2s)
Send Ping request with sequence number.