Function libp2p_core::upgrade::apply_outbound
source · [−]pub fn apply_outbound<C, U>(
conn: C,
up: U,
v: Version
) -> OutboundUpgradeApply<C, U>ⓘNotable 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>>;
where
C: AsyncRead + AsyncWrite + Unpin,
U: OutboundUpgrade<Negotiated<C>>,
Expand description
Tries to perform an upgrade on an outbound connection or substream.