Struct libp2p::noise::LegacyConfig [−][src]
Legacy configuration options.
Fields
send_legacy_handshake: boolWhether to continue sending legacy handshake payloads, i.e. length-prefixed protobuf payloads inside a length-prefixed noise frame. These payloads are not interoperable with other libp2p implementations.
recv_legacy_handshake: boolWhether to support receiving legacy handshake payloads, i.e. length-prefixed protobuf payloads inside a length-prefixed noise frame. These payloads are not interoperable with other libp2p implementations.
Trait Implementations
impl Clone for LegacyConfig[src]
impl Clone for LegacyConfig[src]pub fn clone(&self) -> LegacyConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for LegacyConfig[src]
impl Default for LegacyConfig[src]