Function libp2p::core::muxing::outbound_from_ref_and_wrap [−][src]
pub fn outbound_from_ref_and_wrap<P>(
muxer: P
) -> OutboundSubstreamRefWrapFuture<P>ⓘwhereNotable traits for OutboundSubstreamRefWrapFuture<P>
impl<P> Future for OutboundSubstreamRefWrapFuture<P> where
P: Deref + Clone,
<P as Deref>::Target: StreamMuxer, type Output = Result<SubstreamRef<P>, <<P as Deref>::Target as StreamMuxer>::Error>;
P: Deref + Clone,
<P as Deref>::Target: StreamMuxer,
Same as outbound_from_ref
, but wraps the output in an object that
implements Read
/Write
/AsyncRead
/AsyncWrite
.