[][src]Function libp2p::build_development_transport

pub fn build_development_transport(
    keypair: Keypair
) -> 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 a Transport that supports the most commonly-used protocols that libp2p supports.

Note: This Transport is not suitable for production usage, as its implementation reserves the right to support additional protocols or remove deprecated protocols.