Struct libp2p_noise::LegacyConfig [−][src]
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for LegacyConfigimpl Send for LegacyConfigimpl Sync for LegacyConfigimpl Unpin for LegacyConfigimpl UnwindSafe for LegacyConfigBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V