[−][src]Function adbfbinlib::net::behavior::build_noise_transport
pub fn build_noise_transport(
key_pair: &Keypair,
psk: Option<PreSharedKey>
) -> Boxed<(PeerId, StreamMuxerBox)>
Build up the transport layer
pub fn build_noise_transport(
key_pair: &Keypair,
psk: Option<PreSharedKey>
) -> Boxed<(PeerId, StreamMuxerBox)>
Build up the transport layer