pub fn apply_outbound<C, U>(
    conn: C,
    up: U,
    v: Version
) -> OutboundUpgradeApply<C, U> where
    C: AsyncRead + AsyncWrite + Unpin,
    U: OutboundUpgrade<Negotiated<C>>,
Expand description

Tries to perform an upgrade on an outbound connection or substream.