[−][src]Function libp2p_core::muxing::outbound_from_ref
pub fn outbound_from_ref<P>(muxer: P) -> OutboundSubstreamRefFuture<P>ⓘwhereNotable 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>;
P: Deref,
P::Target: StreamMuxer,
Builds a new future for an outbound substream, where the muxer is a reference.