From a57716f79c1c7c34916325b494397cc72ae4c7f7 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 4 Nov 2026 20:20:28 +0100 Subject: any message taken as delivered --- src/transport/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/transport/mod.rs') 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, + /// 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. -- cgit v1.3.1