Struct libp2p_noise::LegacyConfig
source · Expand description
Legacy configuration options.
Fields§
§send_legacy_handshake: bool
Whether 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: bool
Whether 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§
source§impl Clone for LegacyConfig
impl Clone for LegacyConfig
source§fn clone(&self) -> LegacyConfig
fn clone(&self) -> LegacyConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for LegacyConfig
impl Default for LegacyConfig
source§fn default() -> LegacyConfig
fn default() -> LegacyConfig
Returns the “default value” for a type. Read more