P2p_point.State
type t =
| Requested
| Accepted of P2p_peer_id.t
| Running of P2p_peer_id.t
| Disconnected
val pp_digram : Stdlib.Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val of_p2p_peer_id : t -> P2p_peer_id.t option
val of_peerid_state : t -> P2p_peer_id.t option -> t
val filter : Filter.t list -> t -> bool