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

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