Struct libp2p_noise::LegacyConfig [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for LegacyConfig
impl Send for LegacyConfig
impl Sync for LegacyConfig
impl Unpin for LegacyConfig
impl UnwindSafe for LegacyConfig
Blanket Implementations
Mutably borrows from an owned value. Read more