pub fn outbound_from_ref_and_wrap<P>(
    muxer: P
) -> OutboundSubstreamRefWrapFuture<P>Notable traits for OutboundSubstreamRefWrapFuture<P>impl<P> Future for OutboundSubstreamRefWrapFuture<P> where
    P: Deref + Clone,
    P::Target: StreamMuxer
type Output = Result<SubstreamRef<P>, <P::Target as StreamMuxer>::Error>;
where
    P: Deref + Clone,
    P::Target: StreamMuxer
Expand description

Same as outbound_from_ref, but wraps the output in an object that implements Read/Write/AsyncRead/AsyncWrite.