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 ae6b593..4ddfe32 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -295,6 +295,9 @@ pub(crate) struct BlobMessage { pub(crate) epoch_seq: u32, pub(crate) id: BlobId, pub(crate) body: BlobBody, + /// When the sender sent it, by its clock (as `SyncEnvelope::sent`): the receiver + /// takes how long it took to come (`swarm::hop`), and of a chunk, the throughput. + pub(crate) sent: crate::clock::UnixMillis, } #[derive(Clone, Serialize, Deserialize)] |
