diff options
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index e8d654d..19c4126 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -139,6 +139,9 @@ pub struct HelloReply { /// The `run_id` of the HELLO answered. A reply to a HELLO from an earlier run of the /// recipient (delivered late, or queued while it was down) is ignored. pub run_id: RunId, + /// How long before this HELLO the sender had last heard from the recipient, if ever + /// (in milliseconds): tells a restarted node how long it was away. + pub away_ms: Option<u64>, } #[derive(Debug, Clone)] |
