[][src]Function libp2p::core::upgrade::apply_inbound

Important traits for InboundUpgradeApply<C, U>
pub fn apply_inbound<C, U>(conn: C, up: U) -> InboundUpgradeApply<C, U> where
    C: AsyncRead + AsyncWrite + Unpin,
    U: InboundUpgrade<Compat01As03<Negotiated<Compat<C>>>>, 

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