pub async fn pair_dial<S>(
stream: S,
identity: &Identity,
pairing: Pairing,
responder: &ResponderTrust,
config: &PairConfig,
) -> Result<PairDial<S>, PeerError>where
S: AsyncRead + AsyncWrite + Unpin,pub async fn pair_dial<S>(
stream: S,
identity: &Identity,
pairing: Pairing,
responder: &ResponderTrust,
config: &PairConfig,
) -> Result<PairDial<S>, PeerError>where
S: AsyncRead + AsyncWrite + Unpin,