Skip to main content

project_server_time_sample_like_cpp

Function project_server_time_sample_like_cpp 

Source
pub fn project_server_time_sample_like_cpp(
    facts: ServerTimeSampleFacts,
) -> Option<ServerTimeProjection>
Expand description

Project one complete Platform login/heartbeat timestamp like C++ FTLogin.

C++ updates the anchor only when both server fields exist and adds half the measured request RTT to the microsecond component. Values outside Rust’s signed Unix-microsecond range are rejected so callers retain the old anchor.