summaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/traffic.rs')
-rw-r--r--src/transport/traffic.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/traffic.rs b/src/transport/traffic.rs
index 0d93525..f9b8289 100644
--- a/src/transport/traffic.rs
+++ b/src/transport/traffic.rs
@@ -1,9 +1,9 @@
//! Messages and bytes exchanged with each peer, by kind: counted where every message
//! passes anyway, at the transport. No messages of our own.
//!
-//! Bytes are payload bytes, what the Mycelium message carries, without its framing,
-//! the topic, or the base64 of its HTTP API. Counters only grow (from the start of the
-//! process); rates are for whoever reads them.
+//! Bytes are payload bytes, what a message carries, without the transport's framing
+//! (for Mycelium: the topic, or the base64 of its HTTP API). Counters only grow (from
+//! the start of the process); rates are for whoever reads them.
//!
//! A message dropped by the debug firewall still counts as sent (the firewall plays a
//! lossy network) but not as received.
@@ -58,10 +58,10 @@ impl ByKind {
#[derive(Debug, Default, Clone, Copy, Serialize)]
#[serde(rename_all = "camelCase")]
pub(crate) struct PeerTraffic {
- /// Handed to Mycelium (it accepted them).
+ /// Handed to the transport (it accepted them).
pub(crate) sent: ByKind,
pub(crate) received: ByKind,
- /// Sends Mycelium refused (e.g. no route to the peer); not counted as sent.
+ /// Sends the transport refused (e.g. no route to the peer); not counted as sent.
pub(crate) refused: ByKind,
}