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 moreAuto Trait Implementations§
impl RefUnwindSafe for ProtocolParams
impl Send for ProtocolParams
impl Sync for ProtocolParams
impl Unpin for ProtocolParams
impl UnwindSafe for ProtocolParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more