P2p_point.Pool_eventtype kind = | Outgoing_requestWe initiated a connection.
*)| Accepting_request of P2p_peer_id.tWe accepted a connection after authentifying the remote peer.
*)| Rejecting_request of P2p_peer_id.tWe rejected a connection after authentifying the remote peer.
*)| Request_rejected of P2p_peer_id.t optionThe remote peer rejected our connection.
*)| Connection_established of P2p_peer_id.tWe successfully established a authentified connection.
*)| Disconnection of P2p_peer_id.tWe decided to close the connection.
*)| External_disconnection of P2p_peer_id.tThe connection was closed for external reason.
*)type t = kind Time.System.stampedval encoding : t Data_encoding.t