fn ping<'a, C: Clock>(
        &'a mut self,
        network: &'a mut N,
        clock: Option<&'a C>,
    ) -> Result<(), CommandErrors> {
        self.create_client(network, clock).ping()?.wait()?;
        Ok(())
    }
/// Sends ping command for testing the socket
Sends ping command for testing the socket
Sends ping command for testing the socket
fn ping<'a, C: Clock>(
        &'a mut self,
        network: &'a mut N,
        clock: Option<&'a C>,
    ) -> Result<(), CommandErrors> {
        self.create_client(network, clock).ping()?.wait()?;
        Ok(())
    }
fn ping < ' a , C : Clock > ( & ' a mut self , network : & ' a mut N , clock : Option < & ' a C > , ) -> Result < ( ) , CommandErrors > { self . create_client ( network , clock ) . ping ( ) ? . wait ( ) ? ; Ok ( ( ) ) }
Sends ping command for testing the socket
Sends ping command for testing the socket
&'a mut self
network
&'a mut N
clock
Option<&'a C>
&'a mut self
network
&'a mut N
clock
Option<&'a C>