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 as OutboundUpgrade<Negotiated<C>>>::Output, UpgradeError<<U as OutboundUpgrade<Negotiated<C>>>::Error>>;
C: AsyncRead + AsyncWrite + Unpin,
U: OutboundUpgrade<Negotiated<C>>,
Tries to perform an upgrade on an outbound connection or substream.