Struct libp2p::noise::ProtocolParams
source · pub struct ProtocolParams(_);
Expand description
The parameters of a Noise protocol, consisting of a choice for a handshake pattern as well as DH, cipher and hash functions.
Trait Implementations§
source§impl Clone for ProtocolParams
impl Clone for ProtocolParams
source§fn clone(&self) -> ProtocolParams
fn clone(&self) -> ProtocolParams
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 more