Function libp2p_core::upgrade::apply_outbound [−][src]
pub fn apply_outbound<C, U>(
conn: C,
up: U,
v: Version
) -> OutboundUpgradeApply<C, U>ⓘwhereNotable traits for OutboundUpgradeApply<C, U>
impl<C, U> Future for OutboundUpgradeApply<C, U> where
C: AsyncRead + AsyncWrite + Unpin,
U: OutboundUpgrade<Negotiated<C>>, type Output = Result<U::Output, UpgradeError<U::Error>>;
C: AsyncRead + AsyncWrite + Unpin,
U: OutboundUpgrade<Negotiated<C>>,
Tries to perform an upgrade on an outbound connection or substream.