pub async fn query_time(
stack: Stack<'static>,
server: &str,
) -> Result<ServerTime, TimeError>Expand description
Asks an SNTP server for the time (one UDP round trip, 3 s timeout).
pub async fn query_time(
stack: Stack<'static>,
server: &str,
) -> Result<ServerTime, TimeError>Asks an SNTP server for the time (one UDP round trip, 3 s timeout).