aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index d774402..7fbbd73 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -199,6 +199,9 @@ pub(crate) struct Status {
/// The sender would sync with the recipient: counts it as an active member on its
/// own epoch.
pub(crate) syncs_with_you: bool,
+ /// The sender is shutting down: its farewell (`keepalive::farewell`). The
+ /// recipient holds it dormant at once, rather than after `dormant_after` of silence.
+ pub(crate) leaving: bool,
}
/// Cheap to clone: large parts are shared (`bytes::Bytes`).