Skip to main content

Module listener

Module listener 

Source

Structs§

Listener
Creates inbound connections with other peers. Generic over the codec applied to the framed accepted streams so the same accept machinery serves the peer data-plane (PeerNetMsgCodec) and the kademlia lookup-plane (KadNetMsgCodec).

Enums§

StreamListener 🔒
Listener for byte-stream transports (TCP, TLS). Each accept yields a single Box<dyn ByteStream>. QUIC uses a separate StreamMux path.