[−][src]Function libp2p::core::upgrade::apply_inbound
pub fn apply_inbound<C, U>(conn: C, up: U) -> InboundUpgradeApply<C, U> where
C: AsyncRead + AsyncWrite,
U: InboundUpgrade<C>,
Tries to perform an upgrade on an inbound connection or substream.