<strong>peer_connection_handle</strong> (std::weak_ptr&lt;peer_connection&gt; impl);
   connection_type <strong>type</strong> () const;
   void <strong>add_extension</strong> (std::shared_ptr&lt;peer_plugin&gt;);
   peer_plugin const* <strong>find_plugin</strong> (string_view type) const;
   bool <strong>is_seed</strong> () const;
   bool <strong>upload_only</strong> () const;
   peer_id const&amp; <strong>pid</strong> () const;
   bool <strong>has_piece</strong> (piece_index_t i) const;
   bool <strong>is_