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.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.