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::Target: StreamMuxer
type Output = Result<<P::Target as StreamMuxer>::Substream, <P::Target as StreamMuxer>::Error>;
where
    P: Deref,
    P::Target: StreamMuxer

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