//! Core-owned BitTorrent peer connection state and transport adapter.
//!
//! [`BtPeerConn`] composes the protocol transport with engine-owned peer
//! identity, statistics, upload policy state, and session lifecycle. The
//! `PeerActor` owns it while the connection is active and is the only runtime
//! reader/writer. Wire parsing, handshake, and message validation are provided
//! by `aria2-protocol`.
//!
//! # Keep-alive
//!
//! Per the BitTorrent spec, peers must send a keep-alive message every
//! ~2 minutes if no other message has been sent. The connection is
//! considered dead after ~3 minutes of inactivity.
pub use PeerActorId;
pub use PeerActorStartup;
// Public connection types and their supporting data structures.
pub use BtPeerConn;
pub use PeerSessionResource;
pub use ConnectionType;
pub use UtpPeerConnection;