Function libp2p::core::muxing::outbound_from_ref[][src]

pub fn outbound_from_ref<P>(muxer: P) -> OutboundSubstreamRefFuture<P>

Notable traits for OutboundSubstreamRefFuture<P>

impl<P> Future for OutboundSubstreamRefFuture<P> where
    P: Deref,
    <P as Deref>::Target: StreamMuxer
type Output = Result<<<P as Deref>::Target as StreamMuxer>::Substream, <<P as Deref>::Target as StreamMuxer>::Error>;
where
    P: Deref,
    <P as Deref>::Target: StreamMuxer

Builds a new future for an outbound substream, where the muxer is a reference.