aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-04 20:20:28 +0100
committertv <tv@krebsco.de>2026-11-04 20:20:28 +0100
commita57716f79c1c7c34916325b494397cc72ae4c7f7 (patch)
tree9ddbaef110b6637e950a1655af3609793505e5e2 /src/transport/mod.rs
parent6487281ad8e33138173cdb934bc6caf9333a3721 (diff)
any message taken as delivered
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 17d6d4c..426ef72 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -666,6 +666,11 @@ pub(crate) struct SyncEnvelope {
/// the writer's, on its own push and on every member's after; None otherwise
/// (answers, pulls).
pub(crate) writer: Option<u64>,
+ /// The sender takes the message as delivered (`SyncSession::assume_delivered`): it
+ /// had everything the receiver had, so the receiver will hold exactly the sender's
+ /// heads, and the sender awaits no answer. A receiver it leaves level with the
+ /// sender answers nothing; one that has changes the sender lacks answers with them.
+ pub(crate) delivered: bool,
}
/// What a sync envelope carries.