Enum snow::params::Token [−][src]
pub enum Token {
E,
S,
Dhee,
Dhes,
Dhse,
Dhss,
Psk(u8),
}The tokens which describe message patterns.
See: http://noiseprotocol.org/noise.html#handshake-patterns
Variants
ESDheeDhesDhseDhssPsk(u8)
Trait Implementations
impl Copy for Token[src]
impl Copy for Tokenimpl Clone for Token[src]
impl Clone for Tokenfn clone(&self) -> Token[src]
fn clone(&self) -> TokenReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Token[src]
impl PartialEq for Tokenfn eq(&self, other: &Token) -> bool[src]
fn eq(&self, other: &Token) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Token) -> bool[src]
fn ne(&self, other: &Token) -> boolThis method tests for !=.
impl Debug for Token[src]
impl Debug for Token