1 2 3 4 5 6 7
use crate::peer::PeerConnection; /// Handle inbound peer connections routed by info hash (post-mTLS BitTorrent wire). pub trait InboundHandler: Send + Sync { /// Post-mTLS BitTorrent connection (handshake already complete). fn spawn_secure_connected(&self, conn: PeerConnection); }