pub trait Ping {
// Required method
fn ping<'life0, 'life1, 'async_trait>(
&'life0 self,
interface_name: &'life1 str,
addr: SocketAddr,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Trait that can send ICMP echo requests, and receive and validate replies.