Skip to main content

Module peer

Module peer 

Source
Expand description

The peer the caller wants to reach (PeerTarget) and the connection they get back (PeerConnection).

To the caller, crate::connect “just connects to a peer” — they describe the peer once and receive an mTLS-authenticated PeerConnection whose remote peer_id has been verified. Which traversal method got there is reported (observability) but never something the caller must choose or handle.

Structs§

PeerConnection
An established, mutually-authenticated, multiplexed connection to a peer.
PeerTarget
A description of the peer to connect to.