Rust ping mechanism - how does it works?

Subj. I have a VDS server with some ip. When i try to ping it directly from my client machine (ping server_ip), i see 4-5ms. When i see my server in rust client, i see ping 14-30-50ms. How?

If i understand you right it will be because the the client machine is local and the rust server list is not so you will see high latency.