diff options
Diffstat (limited to 'src/transport/paths.rs')
| -rw-r--r-- | src/transport/paths.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/paths.rs b/src/transport/paths.rs index 2ef3a12..7ebde70 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, |
