pub fn peers(&'_ mut self) -> impl Iterator<Item = Peer<'_, T>> {
        let raw_peers =
            unsafe { std::slice::from_raw_parts_mut((*self.inner).peers, (*self.inner).peerCount) };

        raw_peers.into_iter().map(|rp| Peer::new(rp))
    }
/// Returns an iterator over all peers connected to this `Host`.
Returns an iterator over all peers connected to this `Host`.
Returns an iterator over all peers connected to this ` Host ` .
pub fn peers(&'_ mut self) -> impl Iterator<Item = Peer<'_, T>> {
        let raw_peers =
            unsafe { std::slice::from_raw_parts_mut((*self.inner).peers, (*self.inner).peerCount) };
        raw_peers.into_iter().map(|rp| Peer::new(rp))
    }
pub fn peers ( & ' _ mut self ) -> impl Iterator < Item = Peer < ' _ , T > > { let raw_peers = unsafe { std :: slice :: from_raw_parts_mut ( ( * self . inner ) . peers , ( * self . inner ) . peerCount ) } ; raw_peers . into_iter ( ) . map ( | rp | Peer :: new ( rp ) ) }
Returns an iterator over all peers connected to this `Host`.
Returns an iterator over all peers connected to this ` Host ` .
&'_ mut self
&'_ mut self