pub(crate) async fn announce_new_peer<I, P>(self, peer_id: I)
    where
        REv: From<NetworkAnnouncement<I, P>>,
    {
        self.event_queue
            .schedule(
                NetworkAnnouncement::NewPeer(peer_id),
                QueueKind::NetworkIncoming,
            )
            .await;
    }
/// Announces that a new peer has connected.
Announces that a new peer has connected.
Announces that a new peer has connected .
pub(crate) async fn announce_new_peer<I, P>(self, peer_id: I)
    where
        REv: From<NetworkAnnouncement<I, P>>,
    {
        self.event_queue
            .schedule(
                NetworkAnnouncement::NewPeer(peer_id),
                QueueKind::NetworkIncoming,
            )
            .await;
    }
pub ( crate ) async fn announce_new_peer < I , P > ( self , peer_id : I ) where REv : From < NetworkAnnouncement < I , P > > , { self . event_queue . schedule ( NetworkAnnouncement :: NewPeer ( peer_id ) , QueueKind :: NetworkIncoming , ) . await ; }
Announces that a new peer has connected.
Announces that a new peer has connected .
self
peer_id
I
self
peer_id
I