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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
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