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 moresource§impl Debug for HandshakeChoice
impl Debug for HandshakeChoice
source§impl FromStr for HandshakeChoice
impl FromStr for HandshakeChoice
source§impl PartialEq for HandshakeChoice
impl PartialEq for HandshakeChoice
source§fn eq(&self, other: &HandshakeChoice) -> bool
fn eq(&self, other: &HandshakeChoice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HandshakeChoice
Auto Trait Implementations§
impl Freeze for HandshakeChoice
impl RefUnwindSafe for HandshakeChoice
impl Send for HandshakeChoice
impl Sync for HandshakeChoice
impl Unpin for HandshakeChoice
impl UnwindSafe for HandshakeChoice
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)