/// Return the PeerId associated with this event.
Return the PeerId associated with this event.
Return the PeerId associated with this event .
pub fn peer_id(&self) -> PeerId {
        match self {
            Self::ConnectionRequest { id, .. } => *id,
            Self::SearchResult { id, .. } => *id,
        }
    }
pub fn peer_id ( & self ) -> PeerId { match self { Self :: ConnectionRequest { id , .. } => * id , Self :: SearchResult { id , .. } => * id , } }
Return the PeerId associated with this event.
Return the PeerId associated with this event .
&self