Struct tiny_ping::Pinger [−][src]
pub struct Pinger { /* fields omitted */ }Expand description
A Ping struct represents the state of one particular ping instance.
Implementations
Sets the value for the SO_BINDTODEVICE option on this socket.
If a socket is bound to an interface, only packets received from that
particular interface are processed by the socket. Note that this only
works for some socket types, particularly AF_INET sockets.
If interface is None or an empty string it removes the binding.
This function is only available on Fuchsia and Linux.
The timeout of each Ping, in seconds. (default: 2s)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Pinger
impl !UnwindSafe for Pinger
Blanket Implementations
Mutably borrows from an owned value. Read more