Function libp2p::core::upgrade::apply_inbound [−][src]
pub fn apply_inbound<C, U>(conn: C, up: U) -> InboundUpgradeApply<C, U>ⓘwhereNotable traits for InboundUpgradeApply<C, U>
impl<C, U> Future for InboundUpgradeApply<C, U> where
C: AsyncRead + AsyncWrite + Unpin,
U: InboundUpgrade<Negotiated<C>>, type Output = Result<<U as InboundUpgrade<Negotiated<C>>>::Output, UpgradeError<<U as InboundUpgrade<Negotiated<C>>>::Error>>;
C: AsyncRead + AsyncWrite + Unpin,
U: InboundUpgrade<Negotiated<C>>,
Tries to perform an upgrade on an inbound connection or substream.