From 3a59444a243e44a63a1b234413e9fc74d420e475 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 12:18:52 +0100 Subject: links replies carry clock offsets --- src/transport/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/paths.rs') diff --git a/src/transport/paths.rs b/src/transport/paths.rs index 286f322..515ef45 100644 --- a/src/transport/paths.rs +++ b/src/transport/paths.rs @@ -114,7 +114,7 @@ const CLOCK_KEPT: Duration = Duration::from_secs(300); /// PONG: `offset_ms`, give or take `within_ms`. The PONG says its sender's time when it /// answered, which was after our PING went and before the PONG came: within half the /// round trip of its middle, however differently long the two ways took. -#[derive(Clone, Copy, Debug, PartialEq, Eq, serde::Serialize)] +#[derive(Clone, Copy, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)] #[serde(rename_all = "camelCase")] pub(crate) struct ClockOffset { pub(crate) offset_ms: i64, -- cgit v1.3.1