Struct snow::params::HandshakeTokens[][src]

pub struct HandshakeTokens {
    pub premsg_pattern_i: &'static [Token],
    pub premsg_pattern_r: &'static [Token],
    pub msg_patterns: MessagePatterns,
}

The defined token patterns for a given handshake.

See: http://noiseprotocol.org/noise.html#handshake-patterns

Fields

Trait Implementations

impl TryFrom<HandshakeChoice> for HandshakeTokens
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations

impl Send for HandshakeTokens

impl Sync for HandshakeTokens