pub trait Transporter {
    fn keypair(&self) -> &PeerKp;
    fn noise_keys(&self) -> &NoiseKeys;

    fn config_mplex(&self) -> MplexConfig { ... }
    fn config_tcp(&self, delay: Option<bool>) -> GenTcpConfig { ... }
    fn peer_id(&self) -> PeerId { ... }
    fn version(&self) -> Version { ... }
}

Required Methods

Provided Methods

Implementors