Enum snow::params::HandshakeModifier
source · pub enum HandshakeModifier {
Psk(u8),
Fallback,
}
Expand description
A modifier applied to the base pattern as defined in the Noise spec.
Variants§
Psk(u8)
Insert a PSK to mix at the associated position
Fallback
Modify the base pattern to its “fallback” form
Trait Implementations§
source§impl Clone for HandshakeModifier
impl Clone for HandshakeModifier
source§fn clone(&self) -> HandshakeModifier
fn clone(&self) -> HandshakeModifier
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