Struct snow::params::HandshakeChoice
source · pub struct HandshakeChoice {
pub pattern: HandshakePattern,
pub modifiers: HandshakeModifierList,
}
Expand description
The pattern/modifier combination choice (no primitives specified) for a full noise protocol definition.
Fields§
§pattern: HandshakePattern
The base pattern itself
modifiers: HandshakeModifierList
The modifier(s) requested for the base pattern
Implementations§
Trait Implementations§
source§impl Clone for HandshakeChoice
impl Clone for HandshakeChoice
source§fn clone(&self) -> HandshakeChoice
fn clone(&self) -> HandshakeChoice
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