Enum snow::params::HandshakePattern [] [src]

pub enum HandshakePattern {
    N,
    X,
    K,
    NN,
    NK,
    NX,
    XN,
    XK,
    XX,
    KN,
    KK,
    KX,
    IN,
    IK,
    IX,
}

One of the patterns as defined in the Handshake Pattern section

Variants

Methods

impl HandshakePattern
[src]

If the protocol is one-way only

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

Whether this pattern requires a long-term static key.

Whether this pattern demands a remote public key pre-message.

impl HandshakePattern
[src]

Trait Implementations

impl Copy for HandshakePattern
[src]

impl Clone for HandshakePattern
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for HandshakePattern
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for HandshakePattern
[src]

Formats the value using the given formatter.

impl FromStr for HandshakePattern
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more