pub fn build_tcp_ws_pnet_secio_mplex_yamux(
) -> Result<impl Transport<Output = (PeerId, impl StreamMuxer<OutboundSubstream = impl Send, Substream = impl Send, Error = impl Into<Error>> + Send + Sync), Error = impl Error + Send, Listener = impl Send, Dial = impl Send, ListenerUpgrade = impl Send> + Clone>
Builds an implementation of
Transport that is suitable for usage with the
The implementation supports TCP/IP, WebSockets over TCP/IP, secio as the encryption layer, and mplex or yamux as the multiplexing layer.
Note: If you ever need to express the type of this