Trait disarray_network::transports::Transporter
source · 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 { ... }
}