diff options
| author | tv <tv@krebsco.de> | 2026-10-28 06:35:27 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-28 06:35:27 +0100 |
| commit | 082587a4156eb46e89554d87a769be99cc18a2d4 (patch) | |
| tree | 8a8114df378c8621dd8608a54d6bacc266af7436 /src/transport/mod.rs | |
| parent | f339b848e60b4dc66b1d9721eaf85a5df6c55d78 (diff) | |
show peer destination path address in canonical form
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index c70d27f..25ad56d 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -669,8 +669,9 @@ pub(crate) trait Transport: Send + Sync { None } - /// Where messages to `target` (a transport identity) go now: the remote address of - /// the connection in use, say. By default nowhere but `target` itself (Mycelium). + /// Where messages to `target` (a transport identity) go now, as an address that + /// names `target` too: the remote address of the connection in use, say. By default + /// nowhere but `target` itself (Mycelium). fn location(&self, target: &str) -> Option<String> { let _ = target; None |
