logo
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 as Deref>::Target: StreamMuxer
type Output = Result<SubstreamRef<P>, <<P as Deref>::Target as StreamMuxer>::Error>;
where
    P: Deref + Clone,
    <P as Deref>::Target: StreamMuxer
Expand description

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